J
Jason
In SQL Server the following statement works:
SELECT * FROM [MyTable] WHERE Replace([FieldName], '1', '2') = 'Whatever'
However, it does not work in Access (2003); instead it generates a "Data
Type mismatch" error. Does the 'Replace' statement not work in Access? I
tried switching the apostrophes to quotation marks but this didn't help.
Thanks.
SELECT * FROM [MyTable] WHERE Replace([FieldName], '1', '2') = 'Whatever'
However, it does not work in Access (2003); instead it generates a "Data
Type mismatch" error. Does the 'Replace' statement not work in Access? I
tried switching the apostrophes to quotation marks but this didn't help.
Thanks.