G
Gina Whipp
Hello All,
On my Main Menu you select a button which list all the reports (in a list
box). You can double click on a report name in the ListBox (located on the
Main Menu) and the report goes into preview and maximizes (and, yes I do
need it maximize):
Case "rpt"
DoCmd.OpenReport ObjectName, acViewPreview
DoCmd.Maximize
Case Else
However, if the report has no data, I am utilizing the Report_NoData to show
a message box informing you of that. BUT since the report doesn't open into
preview mode, the Main Menu (from where you selected the report) feels
compelled to maximize. I have tried everything I can think of to get the
Main Menu to remain it's designed size. Any ideas what I can do would be
greatly appreciated.
Thanks,
Gina
On my Main Menu you select a button which list all the reports (in a list
box). You can double click on a report name in the ListBox (located on the
Main Menu) and the report goes into preview and maximizes (and, yes I do
need it maximize):
Case "rpt"
DoCmd.OpenReport ObjectName, acViewPreview
DoCmd.Maximize
Case Else
However, if the report has no data, I am utilizing the Report_NoData to show
a message box informing you of that. BUT since the report doesn't open into
preview mode, the Main Menu (from where you selected the report) feels
compelled to maximize. I have tried everything I can think of to get the
Main Menu to remain it's designed size. Any ideas what I can do would be
greatly appreciated.
Thanks,
Gina