You can download quick reference information for Creating a Query by clicking on the icon |
Cheatsheet |
To create a Query, you would perform the following steps:
For more information on accessing the Mail List window, click here.
The Mail List Criteria (inserting) window opens.
This is extremely important for other users who may use the mail list. If the description of the list is good it will not need to be deciphered to understand the reason for the list.
You can now enter the Criteria.
The Mail List Data Selection window opens. To search for data, you must select a file for the primary source of information for the mail list. Theatre Manager will include information in related parent files.
Patron Data is the PARENT for most data stored in Theatre Manager. When defining criteria, if you select any file as the main file, you can also set criteria for the patron record. However, the converse is NOT true. Selecting the patron file as the Merge File, it does not include the child information - such as donor inormation. |
Select a file that contains the data you are searching for. As the example list is searching for patrons who have made donations; the file to use would be "Patron Address Link". Click here for more information on selecting the file.
The Parameter window opens.
Click here for more information on this window. This tab displays the added criteria for the query on the database.
The Add/Edit Parameter window opens.
The list contains all the possible searchable fields available in your selected file. The selections on the top left side of the window (and, or, not) are used for searching multiple fields when more then one line of criteria is added within the same file. Click Here for an overview of conditions and search criteria.
In this example "Patron Addresses>>Address Line 1", will be the selected search field criteria.
The condition displayed above will find any patron has aan entry in the street address section of the Patron Record.
The Criteria window remains open until save or cancel is clicked.
The Parameter window will return and the entered criteria will appear in the list.
Now the group and its criteria have been added to the main query. For this example, another group needs to be added to include the patrons who have email addresses.
Choose a file containing the required data. This example requires the "Patron Contact Link" file.
In the Edit/Add Parameters window, leave the And button selected. The field for this example would be "Patron Contact Data>>Contact Data (eg Phone/email/website)" while the condition would be "contains" and parameter would be "@" (to search for an email address).
You are returned to the Parameters window.
Both of the Search Criteria are added to the query. The group criteria says add any patron who has volunteered their time as well as any patron who has made a donation to the list.
Now, all the criteria have been added to satisfy the description, the database can be searched.
If you have criteria that you'd like to print and save, while on the tab, click the PRINT button at the top of the window. You will get a report that you can then print or save to PDF. This can be handy when you:
|
The patrons satisfying the first criteria will be found and added to the list. Once complete, the second criteria will be performed and any patrons matching the second criteria will be added. Any patron matching both criteria will only be displayed once. The Mail List will default to the Who's In tab displaying all patrons who match the criteria and are in the list.