I have used VBA to code the opening of a report as follows:
stDocName = "WarrantyListUnitSpecific"
DoCmd.OpenReport stDocName, acPreview, , "UnitType = '" & uType & "'"
DoCmd.Maximize
Form_frmUnitTypeSelection.SetFocus
DoCmd.Close
The DoCmd.Maximize maximizes not only the Report but also the
Switchboard with the Switchboard on top. I would like the Report on
top. Also, when the user closes the report, I want the focus to be
back on the Switchboard.
I have tried DoCmd.Restore in the Close event of the Report without
success.
Can anyone assist?
Tammy
MY****************@wi.rr.com (remove MYEMAILIS and the 822 to get my
actual address). THANKS!!!