Solved

Maximize problem.

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
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 …

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now