Question
How to search certain column by using sql in advanced recordset?
I have some problem to search certain column based on customer's selection of "Search By" (e.g., name, keyword, or ID) when I am trying to write sql in advanced recordset. There is an error message of wrong sql syntax when I used "IF/ELSE statement" before "SELECT FROM WHERE statement". Could I use IF/ELSE in advanced recordest or any solution to this problem? What's the correct syntax? Thank you for your input. David
