Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send parametter to new form.

Status
Not open for further replies.

fernandezd

IS-IT--Management
Jan 30, 2002
48
US
HI Thanks all.

This is probably very very easy but I have not got a clue.

I want to create a nice form for running reports, so that you choose the report you wish to have done and
also what you want done to it like print preview export to WORD.

These parametters will be in a list box.

How do I pass these to a form or function so that these are processed???

THANKS Please if you do not understand this please reply and I will make it easier.

THANKS AGAIN FernandezD
At your service.
Unix systems Admin
 
At the end of the DoCmd.OpenForm there is a space for OpenArgs

Set this to be any value you need to transfer to the new form

Then in code on the new form you can use OpenArgs as a variable of type Variant and do whatever is necessary based on it's value.



'ope-that-'elps

G LS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top