samuelimtech
09-03-2014, 03:26 AM
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"
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 .
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 .