I have create an application using Delphi 5 and MySQL, and now im trying to convert it to use MS Access, but im having problems with the SQL part.
For the MySQL bit i can run the below SQL and it seems to work OK, but when i connect it to Access it errors. The narrowed it down to a problem with '%' bit which is supposed to be a wildcard character.
Can anyone tell me what SQL i need???
SELECT *
FROM contact
WHERE id >=5
AND ((forename LIKE
arSearch '%')
OR (surname LIKE
arSearch '%'))
Thanks
For the MySQL bit i can run the below SQL and it seems to work OK, but when i connect it to Access it errors. The narrowed it down to a problem with '%' bit which is supposed to be a wildcard character.
Can anyone tell me what SQL i need???
SELECT *
FROM contact
WHERE id >=5
AND ((forename LIKE
OR (surname LIKE
Thanks