sambrierley
Registered User.
- Local time
- Today, 14:09
- Joined
- Apr 24, 2014
- Messages
- 56
Hi all,
im trying to return a single value from a table and assign it to a string to be used later but Dlookup isnt working at all. below is the code im using and the error message im recieving is "wrong number of arguements or invalid property assignment"
thanks
p.s i have an earlier post trying to solve the same problem via SQL, I will close both when one is answered. thanks .
im trying to return a single value from a table and assign it to a string to be used later but Dlookup isnt working at all. below is the code im using and the error message im recieving is "wrong number of arguements or invalid property assignment"
Code:
Sub boo()
Dim result As Integer
result = dlookup("Definition", "Config", "Parameter = 'Mail Folder'")
End Sub
thanks
p.s i have an earlier post trying to solve the same problem via SQL, I will close both when one is answered. thanks .