Hi Clarissa,
Create a variable before calling your Report:
private nCounter
nCounter=0
In report on group Footer put NewCounter()
Create a function (in a prg) called NewCounter, put it in the same directory, where you have your report.
Function NewCountetr
nCounter=nCounter+1
return nCounter
HTH
>Hi tim,
>I have a collection of data grouped by date and I want to show a sequence number: 1,2,3 and so on when VFP report prints each group total.
>e.g:
> Id. no date out amount
> 001 22-09-2000 100
> 052 22-09-2000 200
> 053 22-09-2000 50
> -----------------------------
> subtotal 1. 350
>
> 025 23-09-2000 75
> 026 23-09-2000 125
> -----------------------------
> subtotal 2. 200
>
>Thanks a lot for your help,
If it's not broken, fix it until it is.
My Blog