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

ppReport Lost Events - Not using template File

edited July 2003 in General
For some reason I can not catch any events in ppReport. I am trying to
catch the OnPreviewFormReport. I have my handler set up from the Events
(procedure DataModule.ppReport1PreviewFormCreate(Sender: TObject);) but I am
not catching it. I am NOT using an rtm file. I've checked my dfm file and
it is referenced: OnPreviewFormCreate = ppReport1PreviewFormCreate. but for
some reason its not being caught. Any ideas?

Comments

  • edited July 2003
    Make sure Report.SaveAsTemplate is false. Are you using RAP? Does this
    happen on other reports? Can you reproduce it on a new form or datamodule?
    Is it always reproducable? Please provide us with an example that we can
    reproduce the error with. Send all attachments to
    support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.