Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximize problem

Status
Not open for further replies.

jake7363

Technical User
May 31, 2006
56
Hi,
I have in the Form_Load() event, the following command:

Private Sub Form_Load()
DoCmd.Maximize
End Sub


It has been fine for several weeks, and today, when I open the form, it does not maximize. Also, there are a few other commands that are not working, connected to macros. I checked all of the macros for accuracy and nothing seems to be wrong. I have no idea where to begin looking.

Any clues, helps or suggestions will be greatly appreciated.


Thanks in advance,
Jake
 
try it on OnOpen Event of the form

also a Compact & Repair of the DB

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
I have done the compact and repair, and I can use the OnOpen Event to see, but even the button I created using the Button Wizard to Exit the program is not working. Is something else going on?
 
Open the property box of the command button and see if "[Event Procedure]" is written in the Click Event.? If not there chhose it from the combobox

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Is it going to the code window and cursor stops at the correct place If you are clicking on the ellipse([...]) button?


Importing all objects (forms, table...) to a new shell db also a work around

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
No, it just doesn't process. It is quite a large database in terms of fields and actions. I also checked on another system, and it does the same thing. I thought it might be a memory problem. But when the "Exit" button doesn't work, that makes me totally confused. The code is right and the Properties for the Click Event says [Event Procedure], so that part is basic and nothing left to check in that event, yet it still doesn't work.
 
Sorry,
I just reread your post and I think I misunderstood. To answer your question, yes, when I am in the Properties panel and click the "Click Event" [Event Procedure], it takes me directly to the code for that control.

 
Did you try creating a new command button on the form to exit db? Seee what happens?

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Yes, and gave it another name - same problem.
 
in the code window
TOOLS > References >

See if there is anything checked and shows "MISSING....."?

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
something unusual...

did you check if your other databases are working perfect? Is only this form gives you problem?

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
It seems to be something in this database. The problem exists across all forms, but no other database.
Not one of the EXIT buttons work, and no form "Maximizes." To me, that sounds like a memory issue, but that should clear up with a PC restart.

 
In terms of follow-up, I used some of the same macros in a toolbar, and they work.
 
Not sure if the forms are corrupted! What if you are creating a new form with command buttons?

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Nothing happens. I reposted under "Maximize Problem - revision". All macros are fine....just the code is the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top