Form changes size

  • Thread starter Thread starter Junior
  • Start date Start date
J

Junior

I have an unbound startup form used to open various reports via cmd buttons.

when the form 1st opens it is the 'correct' size - however if i click a cmd
button to preview/print a report, click event is

DoCmd.OpenReport "rptEmp", acPreview, "", ""

after closing the report the startup form is maximized (fills the entire
screen)

I'm have no code to minimize/maximize ,or make the startup form visible/not
visible.
What can i do to make the startup form be consistently the proper size?
thanks for help
 
Junior said:
I have an unbound startup form used to open various reports via cmd buttons.

when the form 1st opens it is the 'correct' size - however if i click a cmd
button to preview/print a report, click event is

DoCmd.OpenReport "rptEmp", acPreview, "", ""

after closing the report the startup form is maximized (fills the entire
screen)

I'm have no code to minimize/maximize ,or make the startup form visible/not
visible.
What can i do to make the startup form be consistently the proper size?
thanks for help

Are you manually or in code maximizing the Report? In Access when you maximize one
object you maximize all objects. You could put a DoCmd.Restore in the Activate event
of the form.
 
Back
Top