Solved

Opening MSAccess Form from Desktop shortcut without Access window itself opening

Posted on 2004-10-07
7
156 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
  • 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
 
LVL 53

Expert Comment

by:Dhaest
ID: 12248360
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 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

20 Experts available now in Live!

Get 1:1 Help Now