Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sequence Number for each Group
Message
 
 
To
11/09/2000 01:48:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00414032
Message ID:
00415003
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform