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

Global variable in Macros 1

Status
Not open for further replies.

alectek

Programmer
Jul 9, 2003
68
0
0
US
Hi!
I very new in any kind of Access Programming, so my question may look very stupid.
Working with MS Access 2003.
I need to create three Macros.
First, will OpenQuery to create table
Second and Third, will OpenQuery to append to “First” table.
In every of those queries I need pass “Start Date” & “End Date” parameters.
Where and how should I declare them to do it only once?

Thanks.
Al.


Thanks.
Alec.
 


Hi,

You can either declare them in the CALLING procedure, and pass them as parameters or declare them in the (Declarations) area of the module as Public.

Skip,
[sub]
[glasses] [red]Be Advised![/red]
The band of elderly oriental musicians, known as Ground Cover, is, in reality...
Asian Jasmine![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top