G
Gina Whipp
Hi All,
Decided to report, Fred answered my last question...
I abbreviated the code for this eMail... It's not working, no message just
nada, zilch, zero, okay you get the idea. What's wrong this time, probably
my fault. My object is to look up address based on the entry from another
field.
Function GetAddress(Tos As Long)
Dim CA As String
CA = DLookup("Client", "qryClientNames", "cpClientID =" & 1)
If Tos = 1 Then
GetAddress = CA
Else
GetAddress = "No Address"
End If
End Function
Decided to report, Fred answered my last question...
I abbreviated the code for this eMail... It's not working, no message just
nada, zilch, zero, okay you get the idea. What's wrong this time, probably
my fault. My object is to look up address based on the entry from another
field.
Function GetAddress(Tos As Long)
Dim CA As String
CA = DLookup("Client", "qryClientNames", "cpClientID =" & 1)
If Tos = 1 Then
GetAddress = CA
Else
GetAddress = "No Address"
End If
End Function