Here is the thing. I am in need of a search script that can search three columns using an And/Or feature automatically.
To simply put, I got an Access Database, with three columns (field1,field2,field3).
I have a forum with three fields (field1,field2,field3).
If some only field1 to search, it will be just
Select * from tableName where field1 = '%" & Request.Form("field1") & "%'"
If some one decides to search using field1 and field 2
Select * from tableName where field1 = '%" & Request.Form("field1") & "%' and field1 = '%" & Request.Form("field2") & "%'"
Please ASSIST and THANKS in advance...
Shrini