By the way, Tina, just for interest at this stage, I suppose, but with
Access 2007 there is a SetTempVar macro action, which will give macros
much greater power and flexibility as regards variable management. You
can even subsequently use a macro-generated variable within a VBA procedure.
--
Steve Schapel, Microsoft Access MVP
you can't use variables in queries. you can execute SQL strings withing VBA
procedures, and use variables there. you might find it easiest to simply
create a form with one or more controls to allow your user(s) to enter the
value(s), and refer to the form control(s) in your query criteria, as
Forms!FormName!ControlName
hth
mcl said:
I use [describe input I need] in queries to ask for input. Is there anyway
to pass the input to a variable so I can use that input in other
queries
or
even in multiple queries in a macro?