I am executing a macro from a Switchboard selection. The macro is very simple - "open report" and "printout". The report prints correctly, but after the report prints an image of the Switchboard screen also prints. I do not understand what is causing the Switchboard image to print.
Hi FiscalMike, The PrintOut command is printing your Switchboard view. The OpenReport command prints your report when you set the view to Print. Sounds like you just don't need the PrintOut command and it will work fine. Bonnie http://www.dataplus-svc.com FiscalMike wrote: >I am executing a macro from a Switchboard selection. The macro is very >simple - "open report" and "printout". The report prints correctly, but >after the report prints an image of the Switchboard screen also prints. I do >not understand what is causing the Switchboard image to print. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-macros/200808/1
Bonnie, Exactly correct. Thanks much! "FiscalMike" wrote: > I am executing a macro from a Switchboard selection. The macro is very > simple - "open report" and "printout". The report prints correctly, but > after the report prints an image of the Switchboard screen also prints. I do > not understand what is causing the Switchboard image to print.
You welcome Mike. Bonnie http://www.dataplus-svc.com FiscalMike wrote: >Bonnie, > >Exactly correct. Thanks much! > >> I am executing a macro from a Switchboard selection. The macro is very >> simple - "open report" and "printout". The report prints correctly, but >> after the report prints an image of the Switchboard screen also prints. I do >> not understand what is causing the Switchboard image to print. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-macros/200808/1