Link to home
Start Free TrialLog in
Avatar of keschuster
keschuster

asked on

MS Access - VBA - Using global Var in query

Access 07

I've got some vba code that processes some data.  During that processing I capture a global variable.  Is there a way (NOT IN VBA) to use that variable in a query?
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

1) You can call a Function that grabs the value or - but that is VBA. Soooo

No, unless ... you are in A2010, and you use the TempVar() collection ...

mx
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keschuster
keschuster

ASKER

thats what I thought...  ty
Overall, TempVar() are a pretty cool, long overdue feature ...

mx