I am using ADOQuery component on a MS Access Database. The SQL is built on a search form. The Search form works correctly except when I use wildcards. I have displayed the SQL.Text on the web page and it looks like this:
If I copy and paste into MS Access 2000, the query returns x number of records but in my ISAPI Dll none are returned.
The code to generate the SQL is
Anyone see anything I'm doing wrong here?
Thanks,
Rewdee
Code:
============
SELECT * FROM Table1 WHERE Field1 Like 'ab*'
============
The code to generate the SQL is
Code:
============
with qry do
begin
...
SQL.Add('WHERE FrameNum Like ' + QuotedStr(sParam));
...
end;
============
Thanks,
Rewdee