TRVReportDocObject.Script_OnStart, Script_AfterRecord, Script_AfterRecord, Script_OnEnd

<< Click to display table of contents >>

TRVReportDocObject.Script_OnStart, Script_AfterRecord, Script_AfterRecord, Script_OnEnd

Scripts that are executed when a report is generated.

property Script_OnStart: TStrings;

property Script_BeforeRecord: TStrings;

property Script_AfterRecord: TStrings;

property Script_OnEnd: TStrings;

If DataQuery is not empty:

Script_OnStart is executed at the beginning of report generation, just after the DataQuery is executed.

Script_BeforeRecord is executed before processing each record of DataQuery results.

Script_AfterRecord is executed after processing each record of DataQuery results.

Script_OnEnd is executed at the end of report generation.

If DataQuery is empty:

Script_OnStart is executed at the beginning of report generation

Script_OnEnd is executed at the end of report generation.

For empty scripts, these properties may return nil.

Assignment to these properties copies TString object.

Default value:

Nil

See also

RVReportGetScript, RVReportSetScript, RVReportSetScriptAsString functions and procedures

scripts associated with table generation rules