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!

Query Build

Status
Not open for further replies.

ryne23

Programmer
Mar 9, 2001
29
US
Is it possible to build a query using a form with check boxes? What I would like to do is if the field on the form is checked then it is included in the query. If it is not checked it ignored and excluded from the query.

Thanks
Mike
 
Thank you it looks like it is just what I needed.
 
My users are crazy about it. Thanks for pointing me in the right direction.

Mike
 
My users love it also. I include this applet in nearly every application I create. In some apps with a SQL Server backend, I have modified the applet to use pass-through queries which increases the performance.

Thanks for the feedback.

Duane
Hook'D on Access
MS Access MVP
 
How did you modofy it. Sounds interesting. I am always looking for ways to increase spped in my databases?
 
The mods for pass-through required setting the delimiters in the code that builds the SQL statement to single quotes rather than double quotes or # (dates). I then just changed the SQL property of a saved pass-through query (qsptMyQuery).

This required creating master queries/views in the SQL database.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top