To get Page Total in Report developing in VB6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ridp
    New Member
    • Sep 2006
    • 3

    #1

    To get Page Total in Report developing in VB6.0

    Dear All,
    I want to get total on each and every page containg data. so could you help me how can i get this.
    i am using data report.
    bye
    see u
    raj
  • Assyst
    New Member
    • Sep 2006
    • 4

    #2
    Isnt there a option called Page total ? Done a long back so couldnt exactly say . Do you want to get like

    Page 1 of 2

    Means you have to put the pagenumber field first and embed the of text and put the Page total text.

    Please Revert

    Comment

    • ridp
      New Member
      • Sep 2006
      • 3

      #3
      Originally posted by Assyst
      Isnt there a option called Page total ? Done a long back so couldnt exactly say . Do you want to get like

      Page 1 of 2

      Means you have to put the pagenumber field first and embed the of text and put the Page total text.

      Please Revert
      dear fren
      i want to get calculate a field total amount in every page. not page number.. so pls try to help
      bye

      Comment

      • vbsourcer
        New Member
        • Aug 2006
        • 17

        #4
        If you use Microsoft Data Reports, there is an option that allows you to autmatically drop and drag a field which contains either page totals/ or the current page being displayed.

        1, When in design time at report view, right click and select which field you would like to add to the page, ex CURRENT PAGE OR TOTAL PAGES or BOTH

        2, Alternatively you can also add this statement to the end of a data caption %p this shows the current page or %P This shows the how many pages are in the report.

        Comment

        • Killer42
          Recognized Expert Expert
          • Oct 2006
          • 8429

          #5
          What ridp is after is not the number of pages, but a per-page total (perhaps subtotal would be a better term) for a field.

          Comment

          Working...