Scheduling Reports


Stonefield Query has a scheduler that allows you to run certain reports at certain times. For example, you may have a report named Daily Activities that you want emailed to someone every morning at 7:00 am. The Stonefield Query scheduler uses the scheduler built into Windows to perform the actual report run but makes it easier to schedule a report than the Windows Scheduler program.

Here's how to schedule a report:

To edit a schedule for a report, follow the same steps as above. Stonefield Query sees that you're scheduling a report that's already been scheduled and displays the settings for the existing schedule. Change any settings you wish and choose Finish (notice that you must enter the account information each time).

If you want to create a new schedule for the report, specify a different schedule name. The existing schedule for the report is left alone and a second schedule is created for the report when you choose Finish.

Note that the Schedule Wizard adds the name of the database to the schedule so the report is run against the database open when the schedule was created rather than the last database accessed.

To see whether a schedule report ran correctly, click the Windows Start button and choose All Programs, Accessories, System Tools, Scheduled Tasks (Task Scheduler in Windows Vista). In the dialog that appears, select the desired schedule and check the Last Result (Last Run Result in Windows Vista) column: it shows the result of the run and if it failed, displays the same code values discussed in the Running from Other Applications topic.

To delete a schedule for a report, click the Windows Start button and choose All Programs, Accessories, System Tools, Scheduled Tasks. In the Scheduled Tasks dialog, select the desired schedule and press the Delete key.