D
Derek Brown
Hi all
I have code that maximises a main form when the current report is closed. I
have to do this because if a user clicks on the restore part of the control
box of a report (for whatever reason, god only knows why sometimes), when
the report changes size, the underlying form is also reduced. When the
report is then closed the user is faced with a reduced size main form.
Despite many attempts you cannot remove these minimise and restore parts of
the control box!! (which would solve the problem) despite the fact that the
help feature says that you can. The only problem with this is that if a
user chooses the Exit part of the main window control box as a way to close
the entire program, the code that runs on the report tries to maximise a
form that has already closed and causes an error, I need some code that says
if quitting the program ignore macros and code. and I need to know where to
"stick it"
Any suggestions?
I have code that maximises a main form when the current report is closed. I
have to do this because if a user clicks on the restore part of the control
box of a report (for whatever reason, god only knows why sometimes), when
the report changes size, the underlying form is also reduced. When the
report is then closed the user is faced with a reduced size main form.
Despite many attempts you cannot remove these minimise and restore parts of
the control box!! (which would solve the problem) despite the fact that the
help feature says that you can. The only problem with this is that if a
user chooses the Exit part of the main window control box as a way to close
the entire program, the code that runs on the report tries to maximise a
form that has already closed and causes an error, I need some code that says
if quitting the program ignore macros and code. and I need to know where to
"stick it"
Any suggestions?