Results 1 to 4 of 4
  1. #1
    jlk is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    11

    How do I join more than 1 report with OutputTo?

    Hello,

    I have a few reports in Access 2007 that I would like to export to PDF together (as a joined PDF file). My code is working perfectly well with 1 report, however I have not been able to work out how to join the reports when exporting to pdf.

    Private Sub cmdCentreCosts_Click()


    DoCmd.OutputTo acOutputReport, "rptCentreCosts", acFormatPDF, , , , , acExportQualityScreen


    End Sub



    I am fairly new to VBA, any assistance would be greatly appreciated.

    Thanks,
    jlk

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Can't.

    It is possible to use VBA to merge the PDF files. Review https://www.accessforums.net/access/...pdf-25574.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.

  3. #3
    jlk is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    11

    Smile

    Thanks for your fast reply. I'll give the vba for the pdf files a go.

    I have another question about the reports.

    What about being able to load 2 reports together in Access? I have a form where selections are made and then a report runs based on these parameters. Would it be possible to join 2 reports together to present as 1 one in access. If that makes sense???

    Or should I be considering adding a subform onto the first report? I have not produced a report with a subform before, however if this would work i will give it a go.

    Thanks
    jlk

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Report objects cannot be 'joined' except as a subreport.

    A subreport might accomplish what you want.
    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. DoCmd.OutputTo
    By tylerg11 in forum Reports
    Replies: 2
    Last Post: 08-09-2012, 12:22 PM
  2. AcFormat in DoCmd.OutputTo
    By SIGMA248 in forum Programming
    Replies: 1
    Last Post: 04-15-2011, 08:50 AM
  3. OutputTo PDF???
    By jgelpi16 in forum Programming
    Replies: 1
    Last Post: 03-17-2011, 11:39 AM
  4. OutputTo Excel
    By smikkelsen in forum Access
    Replies: 0
    Last Post: 03-08-2011, 05:15 PM
  5. Export to Excel with OutputTo
    By kadara in forum Import/Export Data
    Replies: 3
    Last Post: 11-15-2010, 11:35 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