GetNthSubreportName

GetNthSubreportName looks at the report specified in the ReportFileName property and returns a string which is the name of the nth subreport in that report.

Syntax

[form.]Report.GetNthSubreportName (SubreportNum%)

For example:

SubreportName=CrystalReport1.GetNthSubreportName (2)

«Returns the name of the third subreport in CrystalReport1.»

Remarks

The valid range for the parameter is 0 to n-1, where n is the number you get back from GetNSubreports.



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