report with > 100 pages
Hi!
we just upgrade from rb12 to 14 , with our delphi xe project.
I see a big problem in all of my reports : if they are big ( more than
100 pages ) Rb generates only first 100.
if i press "Last page" button it creates all the others.
preview screen still show the current page, and avery button i press
gives me a "item index out of bounds (0)" and the report totally crash.
i tried with external rtm or internal wothout difference.
i tried with old rtm ( really old , i mean when datapipeline was 2, one
for haeder and one for detail data! ) and more recents print.
the problem is 100 pages!
thanks
we just upgrade from rb12 to 14 , with our delphi xe project.
I see a big problem in all of my reports : if they are big ( more than
100 pages ) Rb generates only first 100.
if i press "Last page" button it creates all the others.
preview screen still show the current page, and avery button i press
gives me a "item index out of bounds (0)" and the report totally crash.
i tried with external rtm or internal wothout difference.
i tried with old rtm ( really old , i mean when datapipeline was 2, one
for haeder and one for detail data! ) and more recents print.
the problem is 100 pages!
thanks
This discussion has been closed.
Comments
I am not from DM only some question because I want to recreate that.
Is your project still under Delphi XE?
Have you tried to print all on in a Archive-File?
Do you have 14 or 14.01?
Thank you chris
EULANDA Software
it's 14.01 with delphi XE
I just tried : it's only a preview engine error. if i send print to pdf
file , it works perfectly.
ps: one page preview, continue preview or 2 pages preview, it's the
same.
Dopo dura riflessione, Chris (EULANDA) ha scritto :
There is a patch available that fixes this issue. Please send an email
to support@digital-metaphors.com requesting the patch and we'll send it
to you as soon as possible.
RB 14.01 generates pages for the new Scrollable Viewer in a background
thread. This gives the user control over the report even when it is
being generated. By default only 100 pages at a time are generated to
preserve CPU usage. You can increase this value using the
PreviewFormSettings.PageIncrement or Viewer.PageIncrement property.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik (Digital Metaphors) ha pensato forte :