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

Why the TppReport.Template.DatabaseSettings.DataPipeline does auto-open action?

edited September 2002 in General
Hello

1. I have a problem using TppReport. The
TppReport.Template.DatabaseSettings.DataPipeline component opens templates'
DataSet automatically when calling Application.CreateForm(TfmMainRep,
fmMainRep) (before fmMainRep.OnCreate occurs). That DataSet is empty by
default. Then application is crashed generating the ETemplateLoadError
exception witn message: Record not found. Autoopening datasets was present
in versions 5.5. and 6.03 of the TppReport, but the exception didn't occur,
and application still was working. I have tried to get the same error on
another project, but there was no autoopening datasets. What is the possible
cause of the problem ?

2. Did you try to see your forms when Large Font is set ? See the
ppOutlineSettingsDialog.pas, please, it is terrible -:((

WBR Sergey Kovalev

Comments

  • edited September 2002
    1. It shouldn't try to load a template when the form is created. Can you
    send us an example and reproduce it with our demo end user report projects?
    Send it to support@digital-metaphors.com

    2. We'll look into this issue. Thankyou for your patience.

    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Problem occurs when TppReport.SaveAsTemplate = True. If
    TppReport.SaveAsTemplate = False(by default), all is right.
    But I don't understand how it affects my reports and templates.

    And additionally a litle suggest: ppPreview.pas Line 466: FToolbar.ShowHint
    := True;

    WBR Sergey Kovalev

This discussion has been closed.