CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Posts
    3

    Total partial of page

    Hi!
    I have a problem using Crystal Report..
    I have a report that have more than one page.
    At the end of every page, I want a field with a count of items..
    I try to put a "partial total field" with count of items and it work fine..
    my problem is that i want reset this value every page!!
    In first page this value is (for example) 25.. in the second page is
    45 if I have 25 items in the first page and 20 in the second..
    in second page actually I have the sum of first page and second!
    The risult that I want is 25 in first page and 20 in the second..

    Tank's a lot..

  2. #2
    Join Date
    May 2006
    Posts
    324

    Re: Total partial of page

    How are you getting the 'partial total'?
    Are you using a formula, e.g. in the details, to increment the partial total, and another to display the partial total in the page footer? If so, create another formula in the page header to reset the count.

  3. #3
    Join Date
    Jan 2008
    Posts
    3

    Re: Total partial of page

    Yesterday I solve the problem add 2 formulas as you post to me..
    but I think is not the best solution!
    Before changing method, I work with special field: "partial total field" (sorry I'm italian and I have VS2005 ita version! I must translate..) where I put what I want to "sum" for example ("valuate") and when I want to reset.
    OK, I put my field into evaluate box but I don't now what I can put in reset formula to reset count each page! Why it gime me a error if I put "pagenumber" in this formula?????

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

Featured