Solved

Maximize problem.

Posted on 1998-10-07
4
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

730 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