C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Accesing data of subreports

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 1
ROSSMEISLSAE Posted: Tue, Mar 17 2009 1:01 PM

Is it possible, to access data of a subreport by the report that includes the subreport?

Top 10 Contributor
Posts 1,237
Hi,

Since SubReport is embeded as a field within MainReport therefore, we need
to access the SubReport first and then the field of the subreport.

Like the following:

MainReportName.Fields["SubReportNameIntheMainReport"].Subreport.Sections[
C1.C1Report.SectionTypeEnum.Detail].Fields["SubReportFieldName"].Text

Hope this helps.

Regards,
Patrick


wrote in message news:215485@10.0.1.98...
Is it possible, to access data of a subreport by the report that includes
the subreport?



http://helpcentral.componentone.com/cs/forums/p/78552/215485.aspx#215485
Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.