Im using a form to post info to an sql statement to return a set of records using asp
When some of the form objects are not filled out, say a textbox, that feeds into serachterm2 in the sql, if it is null what will happen?
ie. "SELECT * FROM table WHERE" &searchTerm1& "=" &searchTerm2&" ORDER BY" &searchTerm3& "
Cheers
Dave
When some of the form objects are not filled out, say a textbox, that feeds into serachterm2 in the sql, if it is null what will happen?
ie. "SELECT * FROM table WHERE" &searchTerm1& "=" &searchTerm2&" ORDER BY" &searchTerm3& "
Cheers
Dave