[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Opening MSAccess Form from Desktop shortcut without Access window itself opening

Posted on 2004-10-07
7
Medium Priority
?
166 Views
Last Modified: 2013-12-26
Hi all,

I have an MS Access form which is used to display reports according to the combination chosen in it's combo boxes. I wanted to know if there is a way in which i could create a shortcut for the form on my desktop so that whenever i click it the form opens but without the accompanying window of MS Access. I have tried creating an autoexec macro which opens this form in the 'Dialog' view and have set the 'Dont display databse window' in startup but still the main Access window is displayed.

Chow
Goels
0
Comment
Question by:Goels
[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
  • 3
7 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 12248258
I don't think it's possible, because a form is like a child-window in an MDI-application.
If you open the subform, you'll always have to open the main-form.
0
 

Author Comment

by:Goels
ID: 12248297
But isn't there some say 'Hide Window' command or such which could be used in VBA, with window being the name of the main Access window.

0
 
LVL 53

Expert Comment

by:Dhaest
ID: 12248352
Found at another forum. Don't know if it works

Forms!frmname.Visible = True
fSetAccessWindow (SW_SHOWMINIMIZED)
DoCmd.OpenForm "frmname"

I just visible=false the forms rather than minimize them.
Then this code hides the access window again and unhides the form.


http://www.utteraccess.com/forums/printthread.php?Cat=&Board=83&main=532529&type=thread
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12989052
PAQed with no points refunded (of 250)

modulo
Community Support Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

656 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