|
-
Apr 7th, 2009, 05:43 AM
#1
Thread Starter
Addicted Member
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
-
Apr 7th, 2009, 06:03 AM
#2
-
Apr 9th, 2009, 09:16 PM
#3
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|