Hi,
I have an access database where I am using DLookup to find a value as follows.
My Problem is that strLine contains a value such as PL-10006-8'' and i think that the quotation on the end is causing problems as I recieve the following error message.
Run-Time error '3075':
Syntax error (missing operator) in query expression '[Line Identifier] = PL-10006-8"'
Can anyone suggest a method to allow me to use a value such as that?
Thanks in Advance
I have an access database where I am using DLookup to find a value as follows.
Code:
strLine = Forms!frmDataRecord!cmbLineID
strInsulation = DLookup("[Insulation]", "[Piping Data]", "[Line Identifier] = " & strLine)
My Problem is that strLine contains a value such as PL-10006-8'' and i think that the quotation on the end is causing problems as I recieve the following error message.
Run-Time error '3075':
Syntax error (missing operator) in query expression '[Line Identifier] = PL-10006-8"'
Can anyone suggest a method to allow me to use a value such as that?
Thanks in Advance