Init (initialize Crystal8 object)

Top  Previous  Next

 

Init (reportname)

 

Init  Initialize the Crystal8 object.

reportname A string constant, variable, EQUATE, or expression containing the report name. This report name is used when previewing a report. It is also the window caption (text).

The Init method initializes the Crystal8 object. This method also sets the title of the preview window, if the report is previewed. A BYTE is returned from this method and represents whether the report engine is successfully initialized.

 

Return Data Type: BYTE

 

Example:

oCrystal8.Init( ReportPathName )