Print Command

S

Sean

I have a command button that will run a report and print it. How do I code
the command button to prompt me for the number of copies to print?
 
M

Marshall Barton

Sean said:
I have a command button that will run a report and print it. How do I code
the command button to prompt me for the number of copies to print?

Will bringing up the standard Print dialog do what you want?

DoCmd.RunCommand acCmdPrint
 
S

Sean

I would prefer the user only has 2 prompts, 1st for their order number, 2nd
for the number to print. Is this possible via code?

Thanks,
Sean
 
M

Marshall Barton

I haven't tried it, but Access 2002 added a Printers
Collection feature so you can set a significant number of
properties, including Copies, of a Printer object.

Start out by checking Help on the report's Printer property
and go from there.
 
Top