RpReport:LoadRpt() Method
<< Click to Display Table of Contents >> RpReport:LoadRpt() Method |
![]() ![]() ![]() |
Purpose
To load an existing report into the report designer window.
Syntax
<oRpReport>:LoadRpt(cFileName) lSuccess
Arguments
cFileName |
The report file name to load into the design window. |
Example
// initialize RpReport as the designer...
AADD(aDBS, {"C:\RP2\bit.dbf","Bit","DBFCDX",FALSE})
oReport:=RpReport{SELF, aDBS}
// load the report from file...
oReport:LoadRpt("C:\RP2\BIT.RPT")
Note: | This method is only available in the Linkable Design Library and only when the RpReport object is instantiated as a design window. |