Print Page | Close Window

CreateQueries2.mdb (intermediate)

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=368
Printed Date: 29 Mar 2024 at 6:24am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: CreateQueries2.mdb (intermediate)
Posted By: Roger Carlson
Subject: CreateQueries2.mdb (intermediate)
Date Posted: 01 Aug 2008 at 6:32am

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

CreateQueries2.mdb

This database illustrates several examples of programmatically creating queries.

Form 2: Creates a simple Select query called "qryMyQuery" based on the table GLTable. It uses two criteria and allows you to choose the logical operators "AND" or "OR".

Form2a: Does the same as Form2, but has three criteria.

Form3: Allows you to choose the comparison operators (=, >, Like, etc), the values from combo boxes, and the Logical operator between two criteria.

Form 4: A more flexible version of Form3 with three criteria. Criterias 2 and 3 only become active if a logical operator is chosen. A more complete version of this is in the file CreateQueries4.mdb.

Form 5: Changes the criteria for a report.

Form 6: Uses a multi-select list box
 
Download
Access 97 (89 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/CreateQueries2_97.zip - CreateQueries2_97.zip
Access 2000 DAO (60 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/CreateQueries2-2k.zip - CreateQueries2-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