N
Niklas Östergren
Hi!
I have tryed several syntax for this DLookUp (see below) but I keep on
getting "Null" as a result. I´m running this DLookUp in the direct window
(A2002).
DLookup("[TypeOfPlaceID]", "tblLookUpTypeOfPlace", "[TypeOfPlace]='" & Hem &
"'")
DLookup("[TypeOfPlaceID]", "tblLookUpTypeOfPlace", "[TypeOfPlace]=" & "Hem")
strHome = "Hem"
intPhoneTypeHomeID = DLookup("[TypeOfPlaceID]", "tblLookUpTypeOfPlace",
"[TypeOfPlace]= " & strHome)
What am I doing wrong?
TIA!
// Niklas
I have tryed several syntax for this DLookUp (see below) but I keep on
getting "Null" as a result. I´m running this DLookUp in the direct window
(A2002).
DLookup("[TypeOfPlaceID]", "tblLookUpTypeOfPlace", "[TypeOfPlace]='" & Hem &
"'")
DLookup("[TypeOfPlaceID]", "tblLookUpTypeOfPlace", "[TypeOfPlace]=" & "Hem")
strHome = "Hem"
intPhoneTypeHomeID = DLookup("[TypeOfPlaceID]", "tblLookUpTypeOfPlace",
"[TypeOfPlace]= " & strHome)
What am I doing wrong?
TIA!
// Niklas