Solved

Maximize problem.

Posted on 1998-10-07
4
203 Views
Last Modified: 2012-05-04
When I use this code in my RUNTIME project the "start"
form opens different if i erase line 1.
Why???

(line1) DoCmd.Close A_FORM, Screen.ActiveForm.Name
(line2) DoCmd.OpenForm "Start",acNormal

Shall I choose Maximaize in my shortcut properities on the
desktop???
0
Comment
Question by:banan
  • 2
  • 2
4 Comments
 

Author Comment

by:banan
ID: 1964602
I want all my form to open as MAXIMIZE but if i use closeForm the next form
is opening as "not-maximize"
:-(
This does not happen when I use Access97, only when I use the Run-time mdb
???
0
 
LVL 9

Accepted Solution

by:
perove earned 0 total points
ID: 1964603
I belive that it is because the Acitveform (used in line 1)are open in a certian mode, the will "start" inherit this mode.

A suggestion for you is to in the form_open of all your form add a docmd.maximize

This should do the trick

perove

perove
0
 
LVL 9

Expert Comment

by:perove
ID: 1964604
One more thing.
Deff differences between runtime and "not-runtime" is propably because the databsewindow comes the active window in ""not-runtime", and this window is restored when you open access, but in runtime the dbwindow is not visible and therefore the start does not inherit this sizemode.
perove
0
 

Author Comment

by:banan
ID: 1964605
Simple.....
:-)

5 Poiiiiints for you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question