"Accessing data'" in RB11.01, reports run fine in RB11.00
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?
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?
This discussion has been closed.
Comments
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
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.
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
remove this line all reports run fine
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