?
Solved

Switch Board Issues

Posted on 2011-09-16
9
Medium Priority
?
313 Views
Last Modified: 2012-06-21
I have a switch board form called "Switchboard". When open it has 4 options. I want my Time Entry option to open my "Time Entry" form but I keep getting errors. Can you please help me. Attached is a copy of the database.. Thanks in advance
Invoice-7-7-2001.accdb
0
Comment
Question by:Chrisjack001
[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
9 Comments
 
LVL 75
ID: 36550895
See image ...
Capture1.gif
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36550899
"I keep getting errors."
Then can you tell us what these "mysterious" error are, so we can help better?

If you want to use the Access Switchboard, then you should only use the Switchboard Manager to mange your options.

Are you saying that you tried adding "Time Entry" with the switchboard manager and you got these errors?

In your case you need to first start up the switchboard manager and edit this "Time Entry" item.
You must change the command to "Open Form in Edit Mode", then set the "Time Entry" as the form.

This works fine for me

JeffCoachman
Invoice-7-7-2001.accdb
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36550936
Remember, what you are doing there is not terribly complicated...

It may be simpler to just make your own Menu system...

Note that the Access switchboard is a combination of:
A Form
A Table (as MX shows)
And some fairly complex code to manage all of this.

So before you make a change in one, make sure you understand if corresponding changes are needed in the other two...

JeffCoachman
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 31

Expert Comment

by:Helen Feddema
ID: 36551073
I like to use another approach, where forms and reports are opened from selections in a combo box, and other options are available for printing reports and other things you might to run from the main menu.  It is much easier to modify a menu (and its code) if you created it yourself, rather than using the antiquated Microsoft method, which dates back many years.  Here is a typical main menu:
Main-Menu.jpg
0
 

Author Comment

by:Chrisjack001
ID: 36551225
Hi Boag2000, I checked switchboard manager and it matches exactly with yours but I keep getting this error.
Error.JPG
0
 
LVL 75
ID: 36551243
Chrisjack001:

Fix what I posted in the image ... and you will get past that error ... on to the next error - that happens when the Time Entry form tries to open.

mx
0
 
LVL 75
ID: 36551305
The next error when opening the form occurs as shown below, apparently because StudyID is Null.

mx
Capture1.gif
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 1000 total points
ID: 36551317
And at somepoint, you are going to run into a Type Mismatch error - see image below.

mx
Capture1.gif
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 1000 total points
ID: 36551823
Just changing the options in the Switchboard manager worked fine for me.
(I even attached a sample)
Am I missing something?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

800 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