Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2004
    Posts
    4

    Thumbs up Unanswered: A very easy way to get Page Totals with Crystal reports



    may you have been realy fed up of finding a way to get page totals.
    There is a very easy way to get page totals in CR.

    you just need only 3 formulars to do it.

    Lets assume that you want to get the page totals for the BasicSalary feild

    ---------------------------------------------------------------------
    Formula - 1 @BasicSalRunning
    shared numbervar BasicSalary
    BasicSalary := BasicSalary + {BASICSALARY.BASIC}

    place this formula in the detail section (Hide this formula if you dont want)

    ---------------------------------------------------------------------

    Formula - 2 @BasicSalDispTot
    Shared numbervar BasicSalary;
    BasicSalary

    place this formula in the Page footer Section - 1 (create a new section)

    ---------------------------------------------------------------------

    Formula - 3 @BasicSalInit

    Shared Numbervar BasicSalary;
    BasicSalary := 0

    place this formula in the Page footer Section - 2 (Hide this formula)

    ---------------------------------------------------------------------

    Now you are done with it........!!!
    Hope this helps you.
    Let me know if you have any problems.

  2. #2
    Join Date
    Oct 2003
    Posts
    357
    Hi,
    Formula - 3 @BasicSalInit can placed in pagefooter as well

    Madhivanan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •