Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    61

    Unanswered: Report - Page Numbering Question

    I have an application that prints a report by unit. I have the report grouped by Unit. I want the page numbering to be as follows:


    New York Page 1 of 10, Page 2 of 10 .... Page 10 of 10
    Boston Page 1 of 5, Page 2 of 5 .... Page 5 of 5
    Chicago Page 1 of 7, Page 2 of 7 .... Page 7 of 7

  2. #2
    Join Date
    Dec 2002
    Posts
    60

    Re: Report - Page Numbering Question

    Don't know if this would work, but how about a counter in the page footer. You would have to reset the counter when the group (New York...) changed.


    if strGroup<>CurrentGroup then
    intPage=0
    strGroup=CurrentGroup
    endif

    intPage=intPage+1

    lbl.caption=strGroup & " " & cstr(intPage) & " of " ......

Posting Permissions

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