Results 1 to 8 of 8
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,097

    Page setup for sub-reports

    I have a report that has a page setup of two columns that works just fine. I've recently added a sub-report that has a page setup of four (4) columns. When the report previews, the page setup of 4 columns of the sub-report are ignored. I.e., the sub-report previews as a single column. The parent's detail section continues to display properly with 2 columns. The sub-report previews with 4 columns when previewed independently. The sub-report is located in the parent report's "Report Header Section".

    How do I get the sub-report's column specification to take effect when subordinate to the parent?



    Thanks,
    Bill Stanton

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    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
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,097
    "Across then down" in fact yields 4 columns of data in the sub-report, but that arrangement will not satisfy the needs of the application. I will pursue an alternate approach.

    Thanks,
    Bill

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    The only alternative I can see is to rearrange the data by queries or writing to a temp table. Review http://forums.aspfree.com/microsoft-...ry-322123.html
    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
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,097
    June7,

    Thanks for your thoughts.

    The application involves a roughly 20 page directory with 10 profiles per page. My task is to produce a pdf that has a single page of names "down then across" as the first page of the pdf followed by another set of pages containing thumbnail images corresponding to profiles in the main body of the directory. Once the pdf file is established, Acrobat will be used to manually link the name list to the page where the individual will be found AND similarly with the images. With that, the end user of the directory can find an individual's profile by either knowing their name or as shown in an image.

    Since from the host application reports are initiated from VBA code, I just need to learn the parameters that will save the report directly into a pdf and create 3 separate pdf files into a "controlled" folder followed by a shell to Acrobat where combining the 3 files into a single pdf is really fairly straight forward. While I could probably create a temp table to deal with the "names page", the image page(s) would be more effort than the occasional directory creation warrants.

    Thanks,
    Bill

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    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
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,097
    I've already bumped my head with:

    DoCmd.OutputTo acOutputReport, "", acFormatPDF

    as Access 2003 does not support the acFormatPDF option. (While the app runs in a 2010 environment, the app is still compiled in 2003 because 2010 does not support popup menus and I haven't had the time to convert that functionality to ribbons.)

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Sorry, been a long time since I used 2003 and my code was developed with 2007.

    Does 2003 even have a print or export to PDF functionality?

    Possibly if you have a virtual PDF printer driver and can open report and select that driver as destination printer, you will be able to produce PDF.

    As for the other code, need a VBA reference to Adobe Acrobat 8.0 Type Library. If that is not in 2003, then that code won't work either.
    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.

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

Similar Threads

  1. Dynamic Page Breaks in Reports using VBA
    By EddieN1 in forum Reports
    Replies: 1
    Last Post: 08-16-2012, 11:59 AM
  2. Page number in reports
    By SFC in forum Access
    Replies: 2
    Last Post: 03-08-2011, 11:09 AM
  3. Page setup in both tables and queries
    By chum in forum Queries
    Replies: 1
    Last Post: 02-26-2010, 02:02 PM
  4. Reports wrong if every page not viewed
    By ronehrlich in forum Reports
    Replies: 0
    Last Post: 04-18-2009, 08:36 AM
  5. Report Page Setup
    By DaniC818 in forum Reports
    Replies: 1
    Last Post: 03-30-2009, 07:33 PM

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