WhizzkidWallace
Registered User.
- Local time
- Today, 11:30
- Joined
- Jan 10, 2005
- Messages
- 49
Hello,
I have created the query as shown below, and it works fine when I click the View button, but when I use the SQL from it to create an ADODB recordset it contains no records!!
Its part of an enhanced Switchboard I have, and it is driving me nuts!!! Can somebody please shed some light?
SELECT [Switchboard Items].SwitchboardID, [Switchboard Items].Description
FROM [Switchboard Items]
WHERE ((([Switchboard Items].Description) Like '*'+'print'+'*'))
If I remove the wildcards and use the exact search it works, but I need it to be a 'contains' type of search.
Thanks...it will save my sanity.....

I have created the query as shown below, and it works fine when I click the View button, but when I use the SQL from it to create an ADODB recordset it contains no records!!
Its part of an enhanced Switchboard I have, and it is driving me nuts!!! Can somebody please shed some light?
SELECT [Switchboard Items].SwitchboardID, [Switchboard Items].Description
FROM [Switchboard Items]
WHERE ((([Switchboard Items].Description) Like '*'+'print'+'*'))
If I remove the wildcards and use the exact search it works, but I need it to be a 'contains' type of search.
Thanks...it will save my sanity.....