55.1.5 Detail Report: Input Form: Master Query: Introduction
You can use this area to generate documents using two distinct methods:
Creating a General Query in the Master Query area reduces the workload for your Report by establishing Sets of records that may be used many times by a later Slave Query.
Any Set of records that will be used multiple times on the Report should be evaluated here.
The Master Query area is evaluated once right at the start of Report execution. This means any Sets established here will be available to all other Slave Queries on the Report.
You do not necessarily need to define anything in the Master Query area - in this case all Queries must be performed by the Slave Queries. This may be appropriate if there is no common Query required by the Slave Queries.
Just to emphasize, the most important Query is the Slave Query - it is in the Slave Query that the actual record selection that will be used to generate output is established.
Using this type of Query allows you to generate a selection of records that is based on a Date Time Stamp field.
All Tables that can be Queried contain a Date Time stamp field. This Date Time stamp field is automatically updated each time a record for one of these tables is edited and the changes are saved. You can use this Date Time stamp to look for and create a selection of records that have been changed over a particular date/time interval. This is useful when you need to export records for use in an external database that requires altered records to be exported.
|