T
Toffee
I am having a problem with apostrophes in text fields used
in domain aggregate functions. I am developing a report
that searches records for duplicate addresses and uses the
following function in the SQL statement for the report:
DSum(1,"Customers","Address='" & [Address] & "'")
All goes well until this function happens upon a street
named after an Irishman. In this case, it happens to be
an address with a street named O'Leary Lane that stops the
process and gives me the following error:
Syntax error (missing operator) in query
expression 'Address='107 O'Leary Lane"
Any suggestions other than eliminating all punctuation in
street names?
in domain aggregate functions. I am developing a report
that searches records for duplicate addresses and uses the
following function in the SQL statement for the report:
DSum(1,"Customers","Address='" & [Address] & "'")
All goes well until this function happens upon a street
named after an Irishman. In this case, it happens to be
an address with a street named O'Leary Lane that stops the
process and gives me the following error:
Syntax error (missing operator) in query
expression 'Address='107 O'Leary Lane"
Any suggestions other than eliminating all punctuation in
street names?