The reports in this application are limited to one period between an initial
date and a final date. The inquiry, on the report refers contains in the
WHERE condition a restriction to
currentForm!date_begin and currentForm!date_end (s. fig.
13).
The reports are opened in the print preview by the ok button in the dialogue
from Fig. 13 with the
command PreviewReport.
This dialogue is corresponding the current window (currentForm),
which passes the fields on date_begin and date_end to
the query. The designated fields must be the names of the Beans in the form,
which implement the interface ControlledBean
(s. fig. 322
).
The current value of the appropriate Bean is embedded into the query.