Home General

Problem with Groups

edited March 2003 in General
Hi all,


I have the folloing problem. I use RB 7.02 on Delphi 5, and I'm uising
groups. Now the problem is, that if I have a group that goes over more than
one page, on the second page doesn't use the right data in der group footer.
I always have the wrong data. If I now enable page caching, and select that
the groupheader will also be printed on the next page, then it will run, but
only if I go trough the pages. If I select a page directly, it will be
calculated with wrong data.

Does anyone know how to solve this ?

Then I have another problem.

How to Enable that savetofile on Printing Dialog is always enabled ?



thanks

Klaus Astner

Comments

  • edited March 2003
    Klaus,

    Make sure you are using the TppVariable.OnCalc event to perform any
    calculations on a variable. Below is an article explaining how to provide
    calculations in a report. If this does not help, please send a small
    example to support@digital-metaphors.com and we can take a look at it.

    You can adjust the print dialog by setting the Report.AllowPrintToFile,
    Report.DeviceType, and Report.TextFileName properties.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2003
    Only

    use only GroupfooterBand1BeforeGenerate



    -----Urspr?ngliche Nachricht-----
    Von: Astner Klaus [mailto:k.astnerremove_this@virgilio.it]
    Bereitgestellt: Dienstag, 18. M?rz 2003 11:00
    Bereitgestellt in: digital-metaphors.public.reportbuilder.general
    Unterhaltung: Problem with Groups
    Betreff: Problem with Groups


    Hi all,


    I have the folloing problem. I use RB 7.02 on Delphi 5, and I'm uising
    groups. Now the problem is, that if I have a group that goes over more
    than
    one page, on the second page doesn't use the right data in der group
    footer.
    I always have the wrong data. If I now enable page caching, and select
    that
    the groupheader will also be printed on the next page, then it will run,
    but
    only if I go trough the pages. If I select a page directly, it will be
    calculated with wrong data.

    Does anyone know how to solve this ?

    Then I have another problem.

    How to Enable that savetofile on Printing Dialog is always enabled ?



    thanks

    Klaus Astner
This discussion has been closed.