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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing openargs

Status
Not open for further replies.

Rauken

Programmer
May 11, 2004
98
0
0
SE
I have a button on a form which opens a report in preview. I use the args property to send a couple of parameters to the report. After installing I realized that it's a 2003 feature and it doesn't exist in the 2000 version. What property can I use to retreive values in 2000 version.

The report is quite complicated, using where or filter properties won't work. Is tag property possible, in that case how do I use that?

 
erm, are you sure you don't have openArgs?

I've got openArgs, and I'm working on a 2k access db...

maybe you've not included the correct references?

--------------------
Procrastinate Now!
 
What reference do I need for openargs?
 
Access 2000 has OpenArgs for forms, it is not available for use in reports until XP.

Perhaps consider a hidden text box on the form that opens the report, or a global variable.

-Gary
 
Thank you. Yes global variable will be my solution.
 
How are ya Rauken . . . . .

You can always [purple]set variables in code using form referencing[/purple] (provided form is open):

[purple]For MainForm:[/purple]
Code:
[blue] Variable = Forms!MainFormName!TextBoxName[/blue]
[purple]For subForm:[/purple]
Code:
[blue] Variable = Forms!MainFormName!subFormName.Form!TextBoxName[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top