A
Ali
I have a form where the window is set to fit form. The user can click a
button on the form and open a report - this uses the following code
callingform.visible = false
DoCmd.OpenReport "reportname", acViewPreview
DoCmd.Maximize
In the onClose event of the report I have the following code
forms!callingform.visible = true
However, the problem with this is that when the form opens it to is
maximised.
How can I reset this to its size before calling the report?
button on the form and open a report - this uses the following code
callingform.visible = false
DoCmd.OpenReport "reportname", acViewPreview
DoCmd.Maximize
In the onClose event of the report I have the following code
forms!callingform.visible = true
However, the problem with this is that when the form opens it to is
maximised.
How can I reset this to its size before calling the report?