|
|
|
|
|
- Handling the current report
- Using MyReport in a procedure
MyReport (Reserved word) In french: MonEtat
MyReport is used to handle the current report. During the execution of the project, MyReport is replaced with the report (and not by the name of the report). Then, MyReport is used like a report. Advantage: MyReport is used to make a local code (control, item, ...) or a global code (global procedure, class, ...) independent of the current report. // Retrieve the name of the current report ReportName = MyReport.Name
Remarks Handling the current report - MyReport is always replaced with the current report. For example:
Using a property (BottomMargin for example):
MyReport.BottomMargin = 15 ResMargin = MyReport.BottomMargin
Code for passing as parameter:
- MyReport can only be used in the processes that handle the current report (processes associated with a control, an item, ...). MyReport cannot be used in a window.
Using MyReport in a procedure MyReport can be used in a local or global procedure only if the procedure handles the current report. In this case, MyReport refers to the current report. With a local procedure, MyReport corresponds to the report to which the procedure belongs.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|