Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Packing list Report help
Mark Budinger 
     
4 years ago
I am creating a packing list report for my company. I have two reports created, one is the main (our copy) and the other is the customers copy (same report one just says Customer copy).  Is there a way to combine both of these reports together? That way I can create a command button to preview the report to make sure everything is in order before printing?

I tried

DoCmd.OpenReport "QC_Hillock_Packing_List_Summary", acViewPreview
    DoCmd.OpenReport "QC_Hillock_Packing_List_SummaryCopy2", acViewPreview

This just previews both and I have to click print one both.

I also tried

DoCmd.OpenReport "QC_Hillock_Packing_List_Summary", acViewPreview
    DoCmd.PrintOut , , , , 1
    DoCmd.OpenReport "QC_Hillock_Packing_List_SummaryCopy2", acViewPreview
    DoCmd.PrintOut , , , , 1

then I realized that once I press the button both reports print out then show me the summary.  I know there has to be an easier way to do this that I am just not seeing.  

Regards,
Mark
Adam Schwanz  @Reply  
           
4 years ago
You could put an onclose event on the second report.

If Msgbox("Would you like to print the two reports?",vbyesnocancel)<>vbyes then
Exit Sub
Else
    DoCmd.OpenReport "QC_Hillock_Packing_List_Summary", acViewPreview
    DoCmd.PrintOut , , , , 1
    DoCmd.Close acReport, "QC_Hillock_Packing_List_Summary"
    DoCmd.OpenReport "QC_Hillock_Packing_List_SummaryCopy2", acViewPreview
    DoCmd.PrintOut , , , , 1
    DoCmd.Close acReport, "QC_Hillock_Packing_List_SummaryCopy2"
End If
Adam Schwanz  @Reply  
           
4 years ago
I don't think by default you can press the print button once (in print preview) and have it print two reports though. Other options would be to combine both reports into one report or there are a few other spots you could put the code.
Mark Budinger OP  @Reply  
     
4 years ago
Hi Adam,

I would actually like to combine both reports in one report. I can't seem to figure out how to properly do that.
Adam Schwanz  @Reply  
           
4 years ago
Just drag and drop the second report onto the first report, it will become a subreport. Adjust size/settings as needed.
Adam Schwanz  @Reply  
           
4 years ago
Or Use the Grouping and Sorting, Add a second field to group by, turn on "with footer", then put the subform in there on the footer, can use force new page then if you cant get the measurements to line up.
Kevin Yip  @Reply  
     
4 years ago
Hi Mark, one way to combine multiple reports is to print each one out to a PDF file, then use a third-party tool like PDFtk (which is free: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ ) to combine them.  This tool can be run at the command line, which means you can automate the process by having Access run a command line, with the Shell() function.
Mark Budinger OP  @Reply  
     
4 years ago
Kevin,

Thank you for this tip. I just might give this a try.

Regards,
Mark

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 5:19:48 PM. PLT: 1s