If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Returning from 2nd form un-does maximize command--how to fix?
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 |
#2
|
|||
|
|||
Returning from 2nd form un-does maximize command--how to fix?
In the Form's Activate Event:
Docmd.Maximize "dogmelissa" wrote: 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 |
#3
|
|||
|
|||
Returning from 2nd form un-does maximize command--how to fix?
Thanks, that's working great!!
Melissa "Klatuu" wrote: In the Form's Activate Event: Docmd.Maximize |
#4
|
|||
|
|||
Returning from 2nd form un-does maximize command--how to fix?
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 "Klatuu" wrote: In the Form's Activate Event: Docmd.Maximize "dogmelissa" wrote: 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 |
Thread Tools | |
Display Modes | |
|
|