Returning from 2nd form un-does maximize command--how to fix?

G

Guest

Ok, my database is pretty straight-forward. I have a start-up form, with
command buttons to open the only 2 forms that we currently have. In one form,
the "project entry" form, I also have a command button to the "add referral"
form. There is a combo box on the "project entry" form which has the names of
referring companies in it, and I wanted to give a way for users to add a new
referring company without having to close the "project entry" form. The
button works, however, my problem is when I use the Close Form command on the
"add referral" form, when it goes back to the "project entry" form, the PE
form is no longer maximized. I have removed the maximize/minimize buttons
from this form, and it's rather irritating that it's not staying maximized.
Both forms run a Macro to Maximize & Create New Record "On Load." I have a
macro for Maximize (only) but I don't know where to put it. I've tried in On
Got Focus, but it didn't work.

Suggestions? (Thanks in advance)
Melissa
 
G

Guest

Wow! Finally - an answer to this perplexing problem. I had "docmd.maximize"
on all of my forms on open, but sometimes when a report was opened and closed
(or other rather unpredictable times) the previous form would no longer be
maximized.

I added "docmd.maximize" to the "On Activate" item for every form in my
database. It works great!!!

Thanks so much - I use this community all the time. You guys rock!

Susan Forson
 

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

Similar Threads


Top