Results 1 to 2 of 2

Thread: [Page] Of [Pages] problem in a Report

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 1999
    Location
    Oak Park, IL, USA
    Posts
    43

    Post

    I am using access's built in report designer. And i am printing a report that will print every cusotmers record. each customers # of pages might vary, one might have 3, one might have 2, the Pages object would have the TOTAL pages, like 80. I need eac hcustoemrs pages to say "Page 1 of 4" if that customers pages is only 4. I can get he [Page] object/property to reset to 1, using a macro. I cant however get the total count of pages for that customerID, any idea's?

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Location
    Raleigh, NC
    Posts
    70

    Post

    You may have a difficult time with this... the Pages property knows the total pages in the report... and on any given page you know what page you are up to... but I don't think there is a way to know how many pages are in a section.

    One way to make it work would be to call the report repeatedly using a list of customers in the filter of the OpenReport call. That way each Customer would be one complete report and would have the appropriate number of Pages listed.

    Hope this helps.
    Bash

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