Access database and LIKE operator in query
From: Andi (andi_at_hunter.numerikon.de)
Date: 05/06/04
- Next message: Kjell Rilbe: "Re: Access database and LIKE operator in query"
- Previous message: Oliver Giesen: "Re: OLE error 80040200 when assigning events of a TCustomADODatasetpointingtoa multi-select stored proc"
- Next in thread: Kjell Rilbe: "Re: Access database and LIKE operator in query"
- Reply: Kjell Rilbe: "Re: Access database and LIKE operator in query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 6 May 2004 13:42:53 +0200
Hi,
I try to perform a query using the SQL "LIKE" operator together with
TADOQuery and TADOConnection. The database is MS Access.
The resulting SQL statement is something like
SELECT * FROM custtable WHERE custname LIKE "*smith*"
When I enter this statement directly in Access it gives the correct results.
If I send it to the Access database via ADO from my Delphi app the resultset
ist empty. No error messages, no nothing, just empty.
Why? What can I do to make the query run correctly from ADO/Delphi?
Btw: Using D7E and Office XP.
Thx
Andi
- Next message: Kjell Rilbe: "Re: Access database and LIKE operator in query"
- Previous message: Oliver Giesen: "Re: OLE error 80040200 when assigning events of a TCustomADODatasetpointingtoa multi-select stored proc"
- Next in thread: Kjell Rilbe: "Re: Access database and LIKE operator in query"
- Reply: Kjell Rilbe: "Re: Access database and LIKE operator in query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|