latex88
Registered User.
- Local time
- Today, 13:48
- Joined
- Jul 10, 2003
- Messages
- 198
Hi, I need help on the condition part of the dlookup function. Both conditions are based on variables, with one created using TempVars in Access 2010.
Variable one: GstrID (a global variable)
Variable two: Created by TempVars.Add "OrderType", strOrderType)
So the function should like something like below...I know I'm nowhere near correct on the syntax
Variable one: GstrID (a global variable)
Variable two: Created by TempVars.Add "OrderType", strOrderType)
So the function should like something like below...I know I'm nowhere near correct on the syntax
dlookup("MyField", "MyTable", "MyID = GstrID" And "MyOrderType = TempVars(OrderType) )