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

PPViewer Zoom to 100% doesn't work ?

edited June 2001 in General
I did exactly what every post regarding that issue and it still dont work...


procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject);

and ADD uses of ppViewr


Did I missed something ?

Comments

  • edited June 2001
    > > begin

    Your code looks fine. To you check to see if it is running?

    Also, if you are loading the report from a file/stream/db field, you must
    reassign the event if the stored report does not have the event already
    assigned.

    Ed Dressel
    Team DM
  • edited June 2001
    Eric

    is your Form named TForm1, and is your ReportName ppReport1 and did you
    spell ppViewr correctly in your Uses clause?

    Regards

    Heinz




  • edited June 2001
    Try the same code in the beforePrint event of your report.

    Jean-Paul

  • edited June 2001
    Jean:

    If you do a search on the messages in this newsgroup for all messages
    containing "PreviewFormCreate", you will see that it has been recommended in
    the TppReport.OnPreviewformCreate event. The problem Eric is having is not
    the event he is using.

    Ed Dressel
    Team DM
This discussion has been closed.