Hi Guys,
I'm trying to get my search criteria to find places with an Ampersand I tried this:
If Trim(Replace(Me!Text1, "&", "''")) <> "" Then
strwhere = strwhere & "AND Directorate='" & Me!Text1 & "' "
End If
but I'm getting an error can anyone help with this.
I'm trying to get my search criteria to find places with an Ampersand I tried this:
If Trim(Replace(Me!Text1, "&", "''")) <> "" Then
strwhere = strwhere & "AND Directorate='" & Me!Text1 & "' "
End If
but I'm getting an error can anyone help with this.