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

"Accessing data'" in RB11.01, reports run fine in RB11.00

edited November 2008 in General
Hi,

RB11.01: Some reports only show "Accessing data" in on reprinting/printing
with other data
-Some form issues a print for some report print to screen device
-When a report is printed to the screen, actually our report is printed to
an archive/file device.
-The preview is generated from the created archive/file device RAF file
-The user gets the preview on screen
-From there the user can reprint the same report (The main DataSet stays
open), the form that initially have issued the print stays open too
-Report shows "Accessing data" and stays like that untill we cancel the
report
-From there the user can print the same report but containing other
selections (The main DataSet get closed and reopened to get the data based
on the new selections), the form that initially have issued the print stays
open too
-Report shows "Accessing data" and stays like that untill we cancel the
report
-Close the form
-Open the form
-First preview runs fine
-Reprint/print with other data generates "Accessing data" and stays like
that untill we cancel the report

RB11.00: The same "Accessing data" reports on reprint/print with other data
run fine again.

CachePages is False for all our reports. Preview reports are completely
generated to RAF files, which will get picked up by our preview form when
they are completely generated.

What code changes between RB11.00 and RB11.01 can explain the above
behavior?

Comments

  • edited November 2008
    Just trying to help... a few post ago, someone asked the same question....
    Maybe the answer (shown below) will help you:

    Try setting Report.CachePages to True, then the report engine will only
    generate each page a single time. When you Print, the pages will be
    retrieved from an internal cache.



    Walter

  • edited December 2008
    I don't want to change a thing. I just want some explination why those
    reports don't work anymore using 11.01 when they worked under 11.00. Since
    we upgraded to 11 from 10.09 we only had problems with all kinds of reports.

  • edited December 2008
    What we really need is an example project that we can build and run here.
    Can you create a simple example project that demonstrates the behavior, then
    email in zip format to support@digital-metaphors.com and we can check it
    out.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2008
    DumpCache in TppCustomReport.SetDataPipeline is causing this behavior. If i
    remove this line all reports run fine


  • edited December 2008

    A patch is now available for RB 11.01. Registered users can email
    support@digital-metaphors to request the patch.

    (Filip submitted an example - the error occurs when setting
    subreport.DataPipeline to nil while the report is generating.)


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.