Accesing data of subreports

WPF

Windows Presentation Foundation controls

Accesing data of subreports

  • rated by 0 users
  • This post has 1 Reply |
  • 1 Follower
  • Is it possible, to access data of a subreport by the report that includes the subreport?

  • 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)