Solved

Maximize problem.

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access report groups with sums 5 28
Create report using crosstab query 11 29
DCount Type Mismatch 2 22
Filter a form 8 15
In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

777 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