Link to home
Start Free TrialLog in
Avatar of Chrisjack001
Chrisjack001Flag for United States of America

asked on

Switch Board Issues

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
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

See image ...
Capture1.gif
"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
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
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
Avatar of Chrisjack001

ASKER

Hi Boag2000, I checked switchboard manager and it matches exactly with yours but I keep getting this error.
Error.JPG
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
The next error when opening the form occurs as shown below, apparently because StudyID is Null.

mx
Capture1.gif
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial