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

Sending a Value from VB Module to a Report in Access

Status
Not open for further replies.

mgarces

Programmer
Feb 4, 2004
2
US
I need to know if you can pass a value from a VBA window directly to a report in Access 2000.

In other words, not assign the report a control source. Just pass the values from the module directly.

Normally I would send the info to a table first and then build the report from the table, but I wonder if its possible to do a direct transfer.


Thanks
 
At a guess I'd say declare a global variable, pass the value to this variable, then use it from the on_open event of your report....

------------------------
Hit any User to continue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top