latex88
Registered User.
- Local time
- Today, 14:57
- Joined
- Jul 10, 2003
- Messages
- 198
I've tried all kinds of combination but I just can't figure out the syntax.
I know it works fine when I take out the SomeVariable and replaces with actual value, but since I need to make this statement dynamic, I need to insert a variable. What is the exact syntax to make this work?
Dim SomeVariable as String
Dim NewVariable as String
SomeVariable = Something
NewVariable = dlookup ("Field1Name", "TableName", "[Field2Name] = SomeVariable")
I know it works fine when I take out the SomeVariable and replaces with actual value, but since I need to make this statement dynamic, I need to insert a variable. What is the exact syntax to make this work?