Passing Data from one subreport to another

Posted by: pete-newman on 4 August 2017, 2:47 pm EST

  • Posted 4 August 2017, 2:47 pm EST

    I have a main report that call two subreports. the first subreport runs a query on a SQL table and populates the fields on the report. One of the fields inthis case its called UserField, it displays a UserNumber for the current record.  On the other subrerport ( subrep2)  i have declared the following 

      Public eUserNo as String

     is it possible to get the value from UserField and set eUserNo to that value ?  if so how


  • Replied 4 August 2017, 2:47 pm EST

    I am assuming via your descritption your report logic is this...

    • Main

        <LI>SubReport1 - UserField retrieved
        <LI>SubReport2 - needs UserField

    Maybe you should considering the following logic, this way the data you need flows down...

    •   Main

        <LI>SubReport - UserField retrieved
        <LI>GrandSubReport - needs userField
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels