H
Hugh self taught
Hi All,
I have the following piece of code
ChkProv = DLookup("[Province_Cde]", "Provinces", "[Province_Cde]= ' " &
Left(Nat_Reg, 2))
which I want to use as part of validating that the 1st 2 left chrs of
Nat_Reg correspond with a record in field Province_Cde
However it gives me the following error when executed
Syntax error in string in query expression '[Province_Cde]='GU'
GU is valid in the record I was trying to add as a test & it exists in the
table Provinces.Province_Cde
Any suggestions on what to try to correct this?
Hugh
I have the following piece of code
ChkProv = DLookup("[Province_Cde]", "Provinces", "[Province_Cde]= ' " &
Left(Nat_Reg, 2))
which I want to use as part of validating that the 1st 2 left chrs of
Nat_Reg correspond with a record in field Province_Cde
However it gives me the following error when executed
Syntax error in string in query expression '[Province_Cde]='GU'
GU is valid in the record I was trying to add as a test & it exists in the
table Provinces.Province_Cde
Any suggestions on what to try to correct this?
Hugh