Results 1 to 7 of 7
  1. #1
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496

    print the first page only

    i have a report that has its page numbers subdivided by report sub-grouping;


    so, i might have something like this:

    group A, page 1 of 3, 2 of 3, 3 of 3
    group B, page 1 of 1
    group C, page 1 of 4, 2 of 4...

    how would i go about having ony the 1st page of each group print?

    each page of the report is a single image, and the record source table includes the image hyperlink, a numeric field that determines what order the images print in, and a logic field that states whether to print the record or not; i had erronously written for the code to print images indicated to be page 1, but there are instancees, where they may not be a page 1 ( page 1 may have been deleted or the user may have simply skipped it and started their sequence at a differnt number...), or page 1 may be flagged not to print ...the first page to print might be page 3

    thanks in advance,
    mark

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    Open the report in PrintPreview filtered to single group, print page 1, close report, open filtered to next group, etc.

    This can be automated with VBA code.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496
    i amy be reading this wrong... but won't this result in a series of individual reports (vs. a single report with the 1st page (only) of each group) ?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    That is true. I don't know any other way to accomplish what you need other than to somehow restrict the report to retrieve only the one record for each group.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496
    hmpt...
    i wonder if i could code something that checks if the page number (in the group) is > 1, and if so... bumps me out of that group, and into the next, with out printing that or any subsequent pages in the first group ??

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    I have doubts. Can open report in PrintPreview, click Print to open the printer dialog and select a range of pages to print but can't seem to skip and pick pages like: 2,4,7,12. So I doubt can be programmed.

    The report doesn't 'know' that groupZ has x number of pages. You would have to calculate that. However, since I don't think multi-range page selection can be programmed this is irrelevant.

    http://office.microsoft.com/en-us/ac...001226272.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496
    ( already am calculating the number of pages in each group for a footer that includes: "page # of #" ) .

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 08-07-2011, 09:22 PM
  2. Replies: 4
    Last Post: 04-11-2011, 04:25 AM
  3. Replies: 3
    Last Post: 12-02-2010, 12:23 PM
  4. Print full page
    By divdav in forum Access
    Replies: 3
    Last Post: 05-23-2010, 07:00 PM
  5. Scale to Print on One Page
    By diane802 in forum Reports
    Replies: 10
    Last Post: 01-19-2010, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums