I am trying to set a global variable from a form module...then reference the global variable in the criteria of a query grid. The attached file lays out the 3 steps. I am failing miserable. Your expert help would be appreciated.
Microsoft DevelopmentMicrosoft Access
Last Comment
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
8/22/2022 - Mon
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Well, you can't do that in A2003 or prior. However, in >=A2007, you can use the TempVars collection to do that.
What version are you using?
mx