Form error on maximize at activation

R

RickOber

I have a form that has worked very well until recently. For some reason, the
form minimizes when a button is pushed (to open a report, another form, etc),
and does not re-maximize when the opened report closes. To work around this,
I put in docmd.maximize on the activate event. This worked for so long that
I forgot it was even there. Now when the same buttons are pushed there is a
2486 error saying "You cant carry out this action at this time". At this
point, the application is essentially dead and it has to be restarted. The
code seems to be running in the background even though the debug window
doesn't stay active once the maximize command is cancelled. Two questions:

1. Why does the form not stay maximized/minimize when report, etc is run?
Why do I have to put the maximize on activate code in in the first place
(best solution)

2. How can I get this form to stay maximized? (Ok, its really the same
question)

Thanks for any ideas.
Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top