Database Minimize & Maximize

J

Jone

Hi,
What code do I write when I want the database should open minimized and what
code do I write when behind a button to maximize the database?
 
J

John W. Vinson

Hi,
What code do I write when I want the database should open minimized and what
code do I write when behind a button to maximize the database?

What do *you* mean by "database"? To me, a Database is the Access container
for multiple forms, reports, queries, etc.; I don't ever "look at" a Database
as a thing-in-itself, I look at its components.

You can maximize a Form (which would usually be the only thing visible when
you open a working database) by putting a line DoCmd.Maximize in its Open
event... but I'm guessing that's not what you have in mind!

John W. Vinson [MVP]
 
B

BeWyched

Try:

Application.RunCommand acCmdAppMinimize
or,
Application.RunCommand acCmdAppMaximize

Cheers and have a prosperous New Year.

BW
 
J

Jone

Thanks !,
But where do I put this code?

BeWyched said:
Try:

Application.RunCommand acCmdAppMinimize
or,
Application.RunCommand acCmdAppMaximize

Cheers and have a prosperous New Year.

BW
 
S

Stevo Aust

Jon

You put the code linked to whatever control you want to use to activate the command, for example use a button.

Cheers

StevoAUST



Jon wrote:

RE: Database Minimize & Maximize
27-Dec-07

Thanks !,
But where do I put this code?

:

Previous Posts In This Thread:

Database Minimize & Maximize
Hi,
What code do I write when I want the database should open minimized and what
code do I write when behind a button to maximize the database?

Re: Database Minimize & Maximize
What do *you* mean by "database"? To me, a Database is the Access container
for multiple forms, reports, queries, etc.; I don't ever "look at" a Database
as a thing-in-itself, I look at its components.

You can maximize a Form (which would usually be the only thing visible when
you open a working database) by putting a line DoCmd.Maximize in its Open
event... but I'm guessing that's not what you have in mind!

John W. Vinson [MVP]

RE: Database Minimize & Maximize
Try:

Application.RunCommand acCmdAppMinimize
or,
Application.RunCommand acCmdAppMaximize

Cheers and have a prosperous New Year.

BW

:

RE: Database Minimize & Maximize
Thanks !,
But where do I put this code?

:


Submitted via EggHeadCafe - Software Developer Portal of Choice
ActiveSync 4.1 Released
http://www.eggheadcafe.com/tutorial...a60b-cd996319884c/activesync-41-released.aspx
 

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