Help with Database Search Form

K

kdstratton

I am at my wits end and need some assistance getting results from a database
search result to work properly.
I want to allow visitors to enter a search word in a database results form
that will return a table which will only show the Database items that contain
their search word.
Text box on form is labeled "Search"
Access Table name is "products"
Field to be searched is "Full Desc"

I have tried every combination of options through the DRW but all I get is
the NO RESULTS message.

TIA
Kelle
 
S

Stefan B Rusynko

Don't use the DBR
See http://www.asp101.com/samples/db_search.asp




|I am at my wits end and need some assistance getting results from a database
| search result to work properly.
| I want to allow visitors to enter a search word in a database results form
| that will return a table which will only show the Database items that contain
| their search word.
| Text box on form is labeled "Search"
| Access Table name is "products"
| Field to be searched is "Full Desc"
|
| I have tried every combination of options through the DRW but all I get is
| the NO RESULTS message.
|
| TIA
| Kelle
 
J

Jon Spivey

Hi,
doesn't
SELECT * FROM Table
WHERE FullDesc LIKE '%::Search::%;
work for you?

If Full Desc really has a space surround it with [ ] eg WHERE [Full Desc]
 
K

kdstratton

Jon,
Thanks for the input. I tried this statement and received a Database Results
Error message.


Jon Spivey said:
Hi,
doesn't
SELECT * FROM Table
WHERE FullDesc LIKE '%::Search::%;
work for you?

If Full Desc really has a space surround it with [ ] eg WHERE [Full Desc]
--
Cheers,
Jon
Microsoft MVP

kdstratton said:
I am at my wits end and need some assistance getting results from a
database
search result to work properly.
I want to allow visitors to enter a search word in a database results form
that will return a table which will only show the Database items that
contain
their search word.
Text box on form is labeled "Search"
Access Table name is "products"
Field to be searched is "Full Desc"

I have tried every combination of options through the DRW but all I get is
the NO RESULTS message.

TIA
Kelle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top