I have a project that seems to bomb out when there is a ' in the Surname field.
Reporting
Syntax Error (missing operator) in query expresion '[Surname] = 'O'Dwyer' and [ConsultID]= 16477'
I have query where the string includes a Field [Surname] which i have included as "[Surname] = '" & [Surname] & "'.....
Now its bitting me in the backside when a name includes another ' character
any thoughts or suggestions would be muxh appreciated.
Regards
Rob.
Reporting
Syntax Error (missing operator) in query expresion '[Surname] = 'O'Dwyer' and [ConsultID]= 16477'
I have query where the string includes a Field [Surname] which i have included as "[Surname] = '" & [Surname] & "'.....
Now its bitting me in the backside when a name includes another ' character
any thoughts or suggestions would be muxh appreciated.
Regards
Rob.
Comment