Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

refreshing "interactive" reports

edited November 2002 in RAP
How can I refresh report preview to display new value when user change some
label captions on my report?
I have created pass-through function (it's basically InputBox function)
which ask user to enter new value for label caption, but when user enter new
value, it's not shown on report preview?
(RB Ent 7.0)


P.S. What happened with
http://www.digital-metaphors.com/tips/InteractivePreview.zip?? It's
unreachable.

Sorry for my bad english...
--
Best regards,
Davor Kukulj
Zagreb, Croatia

Comments

  • edited November 2002
    You can call Report.Reset to cause the report to regenerate the report for
    the new data when the page is rerequested. You can refresh the viewer's page
    by calling Viewer.GoToPage(aPageCurrentNo); You can access the viewer (use
    ppViewr) by calling TppViewer(ppReport1.PreviewForm.Viewer)

    It may be easier to perform the change on the draw command so that you don't
    have to change the layout and regerate all of the report pages before that
    page. Just change the draw command on the current page and refresh the
    viewer. I uploaded the tip you asked for.
    http://www.digital-metaphors.com/tips/InteractivePreview.zip


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.