Solved

Maximize problem.

Posted on 1998-10-07
4
221 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

696 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