Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build SQL from search from

Status
Not open for further replies.

arjc

Technical User
Feb 6, 2001
1
GB
I am trying to build a simple search form to filter records from the database. I provide two sets of unbound fields each set made up of a combobox holding the field names and a text box for user input. Ideally I would like to link the sets with and/or/not selectors.
My idea was to take the contents of the 4 boxes and write a SQL statement to do the selection. I can't work out how to specify field names though - only the user input is ok but the field name parameter doesn't work as a field.
Is there a simple fix?
 
send me an e-mail and i'll send you a sample
psychpt@aol.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top