Loads and executes the report that you specify.
Parameters
- Report
-
Type: Report
After you define this variable, you can run this function or the
Report.RUNMODAL function on the variable. The variable is
automatically cleared after it executes this function.
Remarks
Example
This example requires that you create the following
variables.
Variable name |
DataType |
Subtype |
CustomerRec
|
Record
|
Customer
|
SomeReport
|
Report
|
Salesperson - Sales Statistics
|
|
Copy Code |
CustomerRec.SETCURRENTKEY("No.");
CustomerRec.SETFILTER("Salesperson Code", 'JR|PS');
SomeReport.SETTABLEVIEW(CustomerRec);
SomeReport.RUN
|
See Also