If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Access querry
How do I tell the querry that my criteria is in the value of a global verable
|
#2
|
|||
|
|||
Access querry
On Thu, 17 Jan 2008 13:06:02 -0800, Belcredit
wrote: How do I tell the querry that my criteria is in the value of a global verable You can't, as stated. The JET database engine has no knowledge of VBA constants or variables. You'll need to create a dumb little function, GetVal, like Public Function GetVal() GetVal = glbMyGlobalVariable End Function and use =GetVal() as the criterion in your query. John W. Vinson [MVP] |
Thread Tools | |
Display Modes | |
|
|