-
Crystal Report Help
I've made a crystal report in vb.net 2005 in which
i've placed record number spcial field in the report. but when i go to the next invoice the records number field continues from the last item in the previous invoice like this....
invoice #1
Serial# Item Name Price
1 Item1 100
2 Item2 150
3 Item3 250
invoice #2
Serial# Item Name Price
4 Item1 100
5 Item2 150
6 Item3 250
tht's the problem i wish that in invoice #2 the serial # should be from 1 again.........
plz help me as soon as possible.......
thnx
-
Re: Crystal Report Help
-
Re: Crystal Report Help
I usually create my own formula to count. Make it something like this
Shared NumberVar nCount;
nCount := nCount + 1;
nCount
Then put it in the Details section
I assume the invoices are separated as groups so reset the count to zero with
Shared NumberVar nCount;
If Not InRepeatedGroupHeader then
nCount := 0
else
nCount;
Hope this helps