I am using the following to determine the interval between the current record and the previous record in my report.
WhilePrintingRecords;
NumberVar Counter := Counter + 1;
NumberVar Diff :=
If Counter = 1
Then Diff := 0
Else Diff := DateDiff('s',Previous({@TimeStamp}),{@TimeStamp});
This formula doesn't reset for my groupings. How do I set this up so the DateDif for the first record in the detail of each grouping is 0, instead of calculating the DateDiff between the last record of the previous group and the first record of the current group?
Thanks,
SlickBT
WhilePrintingRecords;
NumberVar Counter := Counter + 1;
NumberVar Diff :=
If Counter = 1
Then Diff := 0
Else Diff := DateDiff('s',Previous({@TimeStamp}),{@TimeStamp});
This formula doesn't reset for my groupings. How do I set this up so the DateDif for the first record in the detail of each grouping is 0, instead of calculating the DateDiff between the last record of the previous group and the first record of the current group?
Thanks,
SlickBT