OpenArgs

Mermogoat

Registered User.
Local time
Today, 01:27
Joined
Dec 1, 2002
Messages
36
Can someone give me an example of the use of OpenArgs when opening a report? I have tried it according to the Help file, but it does not work. Thanks
 
OpenArgs only works with the OpenForm method of the DoCmd object. (refer to Help). It can't be used with a report.
 
Then is there a way to pass text on to a Report that you are opening?
 
You can create a hidden field on a form and put the value you want to pass there. The report will then be able to obtain the value by referencing the form field.
 
How would I reference the form field?

Textbox.value = [form text field] <--what goes in there?
 
Forms!frmYourForm!txtYourTextBox
 

Users who are viewing this thread

Back
Top Bottom