Home General

Groups & Page numbers

edited July 2001 in General
Hi,

I am using rbEnt 5.56 and I am having some troubles with page numbers with
groups.

I have 2 groups in my main report :

Group[0] on Account Number
Group[1] on Billing Address

My dataPipeline contains severals Account numbers and for each account
several billing addresses.
I generate invoices for each billing address.
I need to reset the page number for every new address and every new account
and I need to keep the report pass setting to 1 pass because of variables
that may be calculated twice.

I checked the properties Start New page and reset page number for both
groups but the page number is not reset on Group[1].

Thanks for any help.

Lila.

Comments

  • edited July 2001
    If you have variables and in the OnCalc event, you can perform the
    calculation once. There are two boolean read-only properties of the Report:
    FirstPass and SecondPass, with which you can use to determine the currnent
    pass the report is on. Let the first pass generate the report and get the
    page count totals. Then in the second pass, perform the calculations.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.