T
tina
Hi
I am trying to understand dlookup I am used to vlookup in excel but can't
seem to get it in access
I would like to lookup field both in form data and see if it is in table
detail in field also called both
both are text fields
Dim test As String
test = DLookup([both], "detail", [both] = Me.both)
If IsNull(test) Then
MsgBox -"your lot number is wrong"
I did get some help when trying to lookup to fields but to try and make
things simplier i am now trying this .I have confused myself about Dlookup
Thanks
Tina
End If
I am trying to understand dlookup I am used to vlookup in excel but can't
seem to get it in access
I would like to lookup field both in form data and see if it is in table
detail in field also called both
both are text fields
Dim test As String
test = DLookup([both], "detail", [both] = Me.both)
If IsNull(test) Then
MsgBox -"your lot number is wrong"
I did get some help when trying to lookup to fields but to try and make
things simplier i am now trying this .I have confused myself about Dlookup
Thanks
Tina
End If