I use the normal method of searching like :
' Check for LIKE Supplier ref
If Me.searchorderref > "" Then
varWhere = varWhere & "[Supplier Ref] LIKE """ & Me.searchorderref & """ AND "
End If
no problems but some fields contain data and the " char, uses want to search for a dimention of a compt ie 2.5"
The " charachter causes an syntax error in query anybody know a way around this ?
Thanks
Steve
' Check for LIKE Supplier ref
If Me.searchorderref > "" Then
varWhere = varWhere & "[Supplier Ref] LIKE """ & Me.searchorderref & """ AND "
End If
no problems but some fields contain data and the " char, uses want to search for a dimention of a compt ie 2.5"
The " charachter causes an syntax error in query anybody know a way around this ?
Thanks
Steve