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

Slow report-loading after using Designer?

edited September 2002 in End User
(Seen with both RB 5 prof. and RB 6 Entp.)

How come loading reports (from database) slows down after having used the
Designer on anyone report?
At first it loads in 1 sec. After Designer it uses more than 10 secs!

(Running the app from Delphi or stand-alone)


I use:

ppDesigner.showmodal();


Thanx
Wim Smit

Comments

  • edited September 2002
    Could be that all of the Design Controls are getting created each time you
    load.

    As an experiment, try this:

    ppDesigner1.Report := nil;

    ppReport1.Template.LoadFromFile;

    ppDesigner1.Report := ppReport1;

    and see if the delay goes away...

    --
    Cheers,

    Tom Ollar
    Digital Metaphors Corporation
  • edited September 2002
    That makes the difference.

    I keep
    ppDesigner.Report = nil

    all the time and just before the user starts the Designer I do

    ppDesigner.Report := myReport;

    Thanx

    Wim Smit


This discussion has been closed.