473,385 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Start Main Menu Form when you open Access

4
I have a form named Main Menu in Access. Instead of openning Access and double click that form to start a session. I would like to have that form start automatically when I double click or open Access. I'm using Access 2000.

Can someone provide a solution? Thank you.
Feb 2 '07 #1
8 14373
Rabbit
12,516 Expert Mod 8TB
Tools > Startup

You can set a bunch of options for when the file opens.
Feb 2 '07 #2
ADezii
8,834 Expert 8TB
I have a form named Main Menu in Access. Instead of openning Access and double click that form to start a session. I would like to have that form start automatically when I double click or open Access. I'm using Access 2000.

Can someone provide a solution? Thank you.
Create a New Macro abd name it AutoExec
__1 Specify OpenForm for the Action Argument.
__2 At the bottom of the Macro Window enter additional information such as: Form Name, Data View, etc.
__3 The next time you open the database, your Form will be the first thing you see.
Feb 2 '07 #3
NeoPa
32,556 Expert Mod 16PB
In the Startup Options (See post #2) there is a specific option for this.
Many people feel they don't want to use macros as they are old technology and harder to support. I would have to recommend the Startup option for preference (of the two solutions - both of which work), unless there are reasons we don't know of which would make this inappropriate in your particular case.
Feb 4 '07 #4
ADezii
8,834 Expert 8TB
In the Startup Options (See post #2) there is a specific option for this.
Many people feel they don't want to use macros as they are old technology and harder to support. I would have to recommend the Startup option for preference (of the two solutions - both of which work), unless there are reasons we don't know of which would make this inappropriate in your particular case.
NeoPa:
I don't think the AutoExec Macro will ever become obsolete, do you?
Feb 4 '07 #5
NeoPa
32,556 Expert Mod 16PB
I'm afraid I think it will ADezii.
I guess you like the macro side of things, I know you're a bit of a wiz at them, and we really benefit from your experience in that area, but I don't like macros myself (Probably my own prejudice).
As macros are so limited and hard to document, I feel that most programmers will have to get into the VBA side at some stage, so it's better that they get their feet wet straight away. Then they don't have to learn two sets of rules.

Specifically, most Access programmers I know will create a nothing form with code in the OnOpen event to replace the functionality of the AutoExec macro in VBA code.
Feb 4 '07 #6
Rabbit
12,516 Expert Mod 8TB
I personally don't like macros either.

Rather than a nothing form I usually do it through a main menu which I setup to open everytime using Tools > Startup.
Feb 5 '07 #7
NeoPa
32,556 Expert Mod 16PB
I was trying to say that a nothing form would be used even if there weren't any reason to open a form. If a main menu is required then I can't imagine anyone would use an AutoExec macro. Maybe that's wrong, there's a whole world of different ideas and ways of going about things I suppose.
Too bad they're all wrong except for mine ;)
Feb 5 '07 #8
NeoPa
32,556 Expert Mod 16PB
A new topic was posted in here by a visitor so it's been moved to its own thread. You can find it in AutoExec Macro - Is It Really?.
Nov 2 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
2
by: MLH | last post by:
I run the following command in main menu form open event code... Me!MainMenuLabel.Caption = DLookup("", "qryAdminList") & Chr$(10) & Chr$(13) & DLookup("", "qryAdminList") & Chr$(10) & Chr$(13)...
1
by: Dmitry Davletbaev | last post by:
Hi! I have an ASP page with script in it. This script makes connection to Access database (JET 4.0) and retrieves data. Some time later this page became unavailable with following error: HTTP...
17
by: GS | last post by:
the main menu in the application seemed to disappeared all together until I click on an control and select mainmenu1 in designer. then the mainmenu1 displays where it should be but running it or...
2
by: rdemyan via AccessMonster.com | last post by:
I have a custom message form that I want to display when the user shuts down my app. Some clean up needs to be done during shutdown and I want to display this form and then display various...
4
by: sureshpalani | last post by:
Hi Friends, I am new to access. Just creating a simple application now. I want to open a "Main Menu" form once *.mdb is clicked so that the user need not browse for the main menu. Also, is...
10
jamjar
by: jamjar | last post by:
How do I change the form view using VB after the form is opened? I am using the Switchboard pretty much as the wizard loads it. I've tweaked the appearance and a couple of lines of code but I...
3
by: cwwaicw311 | last post by:
Hi, I currently working on a simple Inventory Tracking System. I have 12 form to input and calculate balance for 12 different material. I have a form act as a main menu to go to this 12 form. The...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.