QBF.MDA is a library database that implements a simple query-by-form facility.
It creates a query form based on any data form.  The user can enter criteria
in the query form, then press a button that opens the data form with the
selected records.

Installation
------------
To install QBF.MDA, add the following line to the [Libraries] section of the
msaccess.ini file:
    c:\access\qbf.mda=ro
Then restart Access.

In order to create query forms in your database, you have to import the macro
"Make QBF Form" from QBF.MDA.  See the documentation on the File Import
command.  If desired, assign it to a key using the AutoKeys macro.

Creating a Query form
-------------------
Open the data form on which the query form is to be based.  Run the
"Make QBF Form" macro (using File Run Macro, or the key you assigned).  A
new form will be created, called "frmQbf<form name>".  This form resembles
the data form, with calculated and unbound controls removed, and three
command buttons added.  This is the form into which the user can enter
selection criteria.

Using a Query form
----------------
To do a query-by-form, open a query form previously created, called
"frmQbf<form name>".  Enter selection criteria into the various controls,
leaving blank the ones that don't matter.  Checkboxes, option groups and
listboxes work the same as in normal forms.  In textboxes and combos, you
can enter simple criteria such as:
	value
	"string value"
	>= number
	Like "pattern"
Unfortunately, due to the difficulty of determining and reproducing Access'
expression parsing algorithm, the query form does not accept all the
expressions available in the Query Design window.

After entering the desired criteria, press the "Find" button.  The data form
will open, with the desired records selected.  If you press "Cancel" instead
of "Find", the query is not executed.  "Clear All" blanks out all entered
criteria.


Len Popp  71162,3513