ARViewer2: Trying to take a saved RPX and get the Viewer to run the report.

Posted by: keithrupert on 4 August 2017, 3:23 pm EST

  • Posted 4 August 2017, 3:23 pm EST

    I am using the ARDesigner to allow users to build custom reports. They can edit and run the reporst, using a viewer that's also on the design form. I save the RPX, when the design form is closed. I am trying to add a second form that only has the ARViewer control on it, so users who don't have rights to design a report, can open the second form and see an up to date version of the report. But all I currently get is the first detail record that you would see in the design view. I based the loading of the viewer on the code that switches between the viewer and designer, but it's not reloading the data.

    Dim rv As New frmRptView 'form with ARViewer on it.
    Dim rpt As New DDActiveReports2.ActiveReport

    rpt.LoadLayout <Path to RPX File>
    rpt.Run False

    Set rv.arvRptView.ReportSource = rpt
  • Replied 4 August 2017, 3:23 pm EST

    Never mind. I found the problem, it was an issue loading the recordset.
  • Marked as Answer

    Replied 4 August 2017, 3:23 pm EST


    Good to hear that your issue has been resolved. Hereby, considering this forum as closed.

    Please free to contact us anytime you face any issues in future.

Need extra support?

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

Learn More

Forum Channels