Hi there people!
This is what i want to do.
I have a page there you can search...
SQL = "SELECT * FROM table WHERE file LIKE '%" & Request.Form("search") & "%' ORDER BY id"
the problem is that i have several tables and i dont want to specify every table in my select sentance. is there anyway to make it dynamic so that it adds "table,table1,table2" automatic?
like:
SQL = "SELECT * FROM table,table1,table2 WHERE file LIKE '%" & Request.Form("search") & "%' ORDER BY id"
This is what i want to do.
I have a page there you can search...
SQL = "SELECT * FROM table WHERE file LIKE '%" & Request.Form("search") & "%' ORDER BY id"
the problem is that i have several tables and i dont want to specify every table in my select sentance. is there anyway to make it dynamic so that it adds "table,table1,table2" automatic?
like:
SQL = "SELECT * FROM table,table1,table2 WHERE file LIKE '%" & Request.Form("search") & "%' ORDER BY id"