View Full Version : Code for printing
Kundan
02-28-2019, 09:44 PM
Can we define the no. of copies of a report/form to be printed through code?
You can use the docmd openreport to open the report in print preview mode and then use docmd printout to print a number of copies and then docmd close to close the report.
Or you can set a loop to count how many copies you want and then use domcd openreport in normal mode which sends it directly to the printer with no print preview.
Kundan
03-03-2019, 10:32 PM
You can use the docmd openreport to open the report in print preview mode and then use docmd printout to print a number of copies and then docmd close to close the report.
Or you can set a loop to count how many copies you want and then use domcd openreport in normal mode which sends it directly to the printer with no print preview.
Thanks a lot!!!!!!!! GOD BLESS YOU!!!!!!!!!!!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.