Printing From a Macro

K

Kevin

I'm trying to create a macro to open a report, print it,
and then close it. When I use the OpenReport, PrintOut,
and Close functions in the macro design window Access pops
up a box after it spools the print job. It says "Print
Macro Definition" "Include for Macro" then lists three
check boxes "Properties" "Actions and Arguments"
and "Permissions by User and Group". Is there any way to
get that to go away? I don't want a user to have to hit
cancel to remove that box or hit OK and have it print out
all of the macro arguments.

Any help is appreciated.

Thanks,

Kevin G
 
F

Fons Ponsioen

Open Report if you select the View - Print option this
automatically prints the report.
Printout prints the current database object (meaning in
this case the macro)
Close closes the current open window.
If all you wish to do is print the report than all you
need is the Open Report.
Maybe I do not understand what you are trying to
accomplish. It may be easier to create a command button
on a form to do the same.
Fons
 
Top