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

Loading Report from Database

edited December 2006 in General
Hi,
Delphi6 , RBuilder 7.04

We use to load Report Template on TPPReport from database at runtime. Will
it slowdown my performance in terms of speed ?

The report saved into Database is not compiled while the report saved in
file/component is compiled is it so ?

DIPAK.

Comments

  • edited December 2006
    Hi Dipak,

    A report template saved to database is identical to a template saved to
    file. Both tempaltes will be loaded by the template object and processed at
    runtime in the same way. The speed in which report templates can be loaded
    from a database will depend on many other factors including how fast your
    DB/network is, and how large your templates are.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2006
    > We use to load Report Template on TPPReport from database at runtime.

    If you are running over a network, you may want to compress the stream and
    manually save it yourself (savetostream, loadfromstream). Also you may also
    compare the ASCII or other format (don't have Delphi up)--I would guess the
    native format is easier to read (though I like the ASCII format as I can do
    comoparisons in them in critical reports).

    Ed Dressel
    Team DM
This discussion has been closed.