OpenSubreport Method (Report Object)

Sample Code - OpenSubreport Method

Every subreport has a pointer to its parent report. Subreports hold on to their parent reports until they are destroyed. The OpenSubreport method opens a subreport contained in the report and returns a Report Object, corresponding to the named subreport. It corresponds to PEOpenSubreport, of the Crystal Report Engine.

Syntax

set reportvar = object.OpenSubreport (SubreportName)

Parameter

SubreportName

Specifies the file name of the subreport to be opened.

Returns

Report



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com