Hi guys
I was wondering how to make a search in a access database. My query looks like this:
Which work fine If I type in the entire “heading” text, but I would like to use an asterisk i the search.
Eg.
Heading field says “This is a test”
If I search for “This” – I get 0 hits
If I search for “This*” – I get 0 hits
If I search for “This%” – I get 0 hits
If I search for “This is a test” – I get 1 hit.
That’s not much of a search function ;-)
Any hint on how to make the search query correct?
Thanks
I was wondering how to make a search in a access database. My query looks like this:
Code:
SELECT ID, Heading, Description, Fix, Modified
FROM CoreData
WHERE (Heading = ?)
Which work fine If I type in the entire “heading” text, but I would like to use an asterisk i the search.
Eg.
Heading field says “This is a test”
If I search for “This” – I get 0 hits
If I search for “This*” – I get 0 hits
If I search for “This%” – I get 0 hits
If I search for “This is a test” – I get 1 hit.
That’s not much of a search function ;-)
Any hint on how to make the search query correct?
Thanks