|
|
|
|
|
- Handling the current report
- Using MyReport in a procedure
MyReport (Reserved word) In french: MonEtat
MyReport is used to handle the current report. When the project is run, the MyReport keyword is replaced with the report (and not with the name of the report). Therefore, MyReport is used as a report. Advantage: The MyReport keyword can be used to make local (control, button, etc.) or global (procedure, class, etc.) code independent 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|