Results 1 to 3 of 3

Thread: Crystal Report Help

  1. #1

    Thread Starter
    Addicted Member iactulip's Avatar
    Join Date
    Feb 2009
    Location
    Dubai UAE
    Posts
    139

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Crystal Report Help

    Moved To Reporting

  3. #3
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    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
  •  



Click Here to Expand Forum to Full Width