Print Page | Close Window

CreateQueries5.mdb (advanced)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=365
Printed Date: 28 Mar 2024 at 4:26pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: CreateQueries5.mdb (advanced)
Posted By: Roger Carlson
Subject: CreateQueries5.mdb (advanced)
Date Posted: 01 Aug 2008 at 6:19am

Please consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm - find out why here .

CreateQueries5.mdb

This set of samples illustrate how to create a flexible query generator for your users. It is similar to CreateQueries4.mdb, but no longer limits the query to 3 criteria.

Because the information for the criteria is stored in a table, there are multi-user considerations. If you use the Singe-User edition in a multi-user environment, users will be over-writing each other's queries. Therefore the Multi-User Edition creates a temporary database on the user's C: drive to store the Where Criteria.

The Basic query generator shows just the basics of getting the unlimited Where Clause to work.

The Advanced query generator allows you to choose a table or a query for the FROM clause, allows you to select which fields to show in the Field List, and allows parentheses in the Where clause.

To use: Each form is self-contained with all the code needed. Just copy the form you want and the two tables: CriteriaTable and TableFields into your application.
 
Download
Access 97 (96 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/CreateQueries5_97.zip - CreateQueries5_97.zip
Access 2000 DAO (89 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/CreateQueries5-2k.zip - CreateQueries5-2k.zip



-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net