ACC: Query by Form (QBF) Using Dynamic QueryDef (95/97) (136062)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q136062 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
This article demonstrates how to use a form to specify the criteria for a
query that is dynamically built by a Visual Basic for Applications
function. This technique is called query by form (QBF).
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
NOTE: A demonstration of the technique used in this article can be seen
in the sample file, Qrysmp97.exe. For information about how to obtain
this sample file, please see the following article in the Microsoft
Knowledge Base:
182568 ACC97: Microsoft Access 97 Sample Queries Available in Download Center
REFERENCES
For more information about the CreateQueryDef method, search for
"CreateQueryDef method" using the Microsoft Access 97 Help Index.
For more information about SQL, search for "SQL statements, writing and
Generating," and then "Build SQL Statements That Include Variables and
Controls" using the Microsoft Access 97 Help Index.
For more information about the QBF technique, search for "query by
form" using the Microsoft Access 97 Help Index. Or see the following
articles here in the Microsoft Knowledge Base:
95931
ACC: How to Use the Query-by-Form (QBF) Technique
109334
ACC: How to Dynamically Create a Filter
117544
ACC2: Query by Form (QBF) Using Dynamic QueryDef
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming kbusage KB136062 |
---|
|