logo


55.1.7 Detail Report: Input Form: Master Query: DT Stamp Query


 

Detail Report: Input Form: Master Query: DT Stamp Query

Window Items and Controls:

 

Button Name

Action

Type of Query for this Report

General Query or Date Time Stamp Query

If you click on either radio button the appropriate form will display. You will also be warned that you will lose settings in other areas of this form.

Setting the Date Time Interval

From: Here you set the From date and time for the interval you want. Click on Last Time Run Button to set this to the last time the export activated if you have set multiple repeats for this Report. You can also directly edit the Date and Time.

To: Here you set the To date and time for the interval you want. Click on Now Button to set this to the Current Date and Time. You can also directly edit the Date and Time.

Reset parameters automatically for next run

This allows you to automate Date Time Stamp reports when multiple Schedules are set. If this is active, the system will fill the From and To fields with the dates and times that a click on Last Time Run Button and Now Button would generate prior to execution of each Report.

Same Folder each Run

This option instructs STATIC to save the Report to a folder that has the name of the Report (first 16 characters) BUT DOES NOT append a Date Time tag. If the folder already exists then its contents are deleted prior to saving new documents to this folder. This is useful for external systems that need to import the Report and expect the Path to the Report to be the same each time. See section “Reports: Destination of Reports” on page 333

Test Query

This button allows you to review the result of the DT Stamp query you have specified and see if it would actually generate any record selections for the Tables listed.

How the Date Time Stamp area functions

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 records that have changed to be exported.

This area executes once only and generates a selection of records that have changed for EVERY table in the database during the Date Time interval specified.

Because all the selections are already established there is no need for a subsequent Slave Query. However we do give you the ability to Order (Sort) your selection when defining your Document contents - this is defined within the Slave Query.



Harrowex Pty Ltd
http://www.hxmedical.com
Voice:+ 61 4 27 344 279
Fax: +61 3 52 439 019
static@hxmedical.com