|
Simulation
The report is provided with a toolbar so that it can be
executed interactively from within Excel;
perfect for testing and presentations. In practice, this
toolbar would not be provided in deployed solutions. The toolbar has two
pushbuttons:
Reset: Press to clear the current sheet.
Update: Press to simulate daily data collection.
To simulate
the report, move to a monthly sheet and press Reset to simulate the
start of the month, Then press Update to represent a daily
update. 
Monthly Summary
Scheduler
To use this example in a 'real' environment, use the
workbook to FlowMaster.xls provided in the XLReporter installation.
A schedule has been provided in the file Flow.sch
which can be viewed in the Schedule Designer. In practice, this would be used to automate the
report generation, automatically and in the background.
The schedule can be tested by using the Execute
feature of the Scheduler designer. Load the configuration into the
Schedule Designer, select the line to execute, right click and
select Execute.
The
configuration uses Time Based schedules.

At the beginning of the year:
The master book FlowMaster is copied to Flow{YYYY}. Note
that {YYYY} is the four digit representation of the current
year.
At the end of each day:
The scheduler performs two operations at the end of each day.
Set the column offset counter
The report uses the column offset counter CR019 which is set to a
value based on the current day of the month. This ensures that
the report data is placed in the correct cells of the report.
Update the worksheet
The worksheet Flow{YYYY}.{MMM} is updated with the daily data
from the process.
|