Maximized Form

D

Doobage20

I am using Access 2000 from Office 2000 Professional. The computer OS is XP
Professional also. I have created a database in Access and have set one of
the forms to open when clicking on the .mdb file. Unfortunately the form
opens "cock-yed" and not centered or maximized. How do you enable this form
to open maximized each time I open the .mdb file.

Mark
 
R

Rick Brandt

Doobage20 said:
I am using Access 2000 from Office 2000 Professional. The computer
OS is XP Professional also. I have created a database in Access and
have set one of the forms to open when clicking on the .mdb file.
Unfortunately the form opens "cock-yed" and not centered or
maximized. How do you enable this form to open maximized each time I
open the .mdb file.

Mark

In its Open event have code...

DoCmd.Maximize
 
R

Rick Brandt

Doobage20 said:
Where is the Open event?

Form in design view. Open property sheet. Look at Events tab and find one
labelled "On Open". In that enter "[Event Procedure]" then press the [...]
button to the right of the box.

That will take you to the VBA editor window positioned exactly where you place
that line of code.
 
P

PatoPaco

Hola

There must be something else!
I have two computers running the same application.
With the same code the table computer always runs maximize but the windows
of the laptop are open at an unexpected size and location.
Any sugestion?


Rick Brandt said:
Doobage20 said:
Where is the Open event?

Form in design view. Open property sheet. Look at Events tab and find one
labelled "On Open". In that enter "[Event Procedure]" then press the [...]
button to the right of the box.

That will take you to the VBA editor window positioned exactly where you place
that line of code.
 
R

Rick Brandt

PatoPaco said:
Hola

There must be something else!
I have two computers running the same application.
With the same code the table computer always runs maximize but the
windows of the laptop are open at an unexpected size and location.
Any sugestion?

Sorry, your original question no longer shows up in my news reader. Post
exactly the code you are using and the results you are getting.
 
P

PatoPaco

Hola

There is not code involved. Two computers run the same application.
To run the aplication, the direct access asks for maximized running.
In one computer the 1st window and all after that appears maximezed.
In another computer 1st is maximized but then all windows appear in
unexpected size and location. Is any option on the Access configuration for
this?
 

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