control on report to return to switchboard

P

PB

Hi,

I have a sub-switchboard for reports. How can I add a control to the report
so that you can return to the switchboard after you view/print the report?
 
R

Rick Brandt

PB said:
Hi,

I have a sub-switchboard for reports. How can I add a control to the
report so that you can return to the switchboard after you view/print
the report?

You can't interact with a report. Just leave the switchboard open and when you
close the report it will be there.
 
L

Larry Linson

I have a sub-switchboard for reports. How
can I add a control to the report so that you
can return to the switchboard after you
view/print the report?

I read this as you want to Close the sub-switchboard and return to the main
Switchboard. If so, you can (1) leave the main Switchboard open behind the
sub-switchboard, Close the sub-switchboard after you execute the
DoCmd.OpenReport, and the main Switchboard should show up after the Report
Closes. If there is some compelling reason to Close both the main and sub-
switchboards, then you can include a DoCmd.OpenForm for the main switchboard
in the Close event of the Report.

You can't interact with Reports, so there's no appropriate Control to add.

Larry Linson
Microsoft Access MVP
 
Top