A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2006, 07:53 PM posted to microsoft.public.access.forms
dogmelissa
external usenet poster
 
Posts: 17
Default 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  
Old August 8th, 2006, 09:11 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default 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  
Old August 8th, 2006, 09:49 PM posted to microsoft.public.access.forms
dogmelissa
external usenet poster
 
Posts: 17
Default 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  
Old August 10th, 2006, 05:29 PM posted to microsoft.public.access.forms
SusanForson
external usenet poster
 
Posts: 2
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.