![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I posted earlier under a different thread and have been attempting some other methods to solve the problem I'm having. I'm really a novice at writing sql queries, so any guidance is greatly appreciated. Here is what I have right now: http://www.dwayneepps.com/test/search.asp All I have for the sql statement on the results.asp page is: SELECT * FROM tblProducts which returns all the entries in table. Can anyone offer any help on how to write the sql statement to find the closest matches that are entered in the text field on the search.asp page? Thanks for any help. -D- |
#3
| |||
| |||
|
|
this should help u out. http://www.webthang.co.uk/tuts/tuts_dmx/gk_search1/multisearch1.asp twocans "-D-" <noone (AT) nospam (DOT) com> wrote in message news:ccs1pj$ird$1 (AT) forums (DOT) macromedia.com... I posted earlier under a different thread and have been attempting some other methods to solve the problem I'm having. I'm really a novice at writing sql queries, so any guidance is greatly appreciated. Here is what I have right now: http://www.dwayneepps.com/test/search.asp All I have for the sql statement on the results.asp page is: SELECT * FROM tblProducts which returns all the entries in table. Can anyone offer any help on how to write the sql statement to find the closest matches that are entered in the text field on the search.asp page? Thanks for any help. -D- |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
It's not quite as easy as you might think. You'd have to have some if...then...else statements to execute different SQL dependant on which option was selected. Also, remember the wildcard for SQL is % not * -- Jules http://www.charon.co.uk/charoncart Charon Cart 3 Shopping Cart Extension for Dreamweaver MX/MX 2004 |
![]() |
| Thread Tools | |
| Display Modes | |
| |