Solved

I would like to be able to handle Buttons on an Access2013 Forms with a few lines of VBA code. Can anyone there show me how?A

Posted on 2014-10-22
3
145 Views
Last Modified: 2014-10-30
I saw Briefly, someone Write  VBA code that completely handled the Buttons that opened up new forms, instead of by Wizard. It was far easier to maintain.
0
Comment
Question by:Frank Vertin
3 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40397827
place this code in the click event of the button

docmd.openform "nameofForm"
0
 
LVL 34

Accepted Solution

by:
PatHartman earned 500 total points
ID: 40397848
Here's a simplified switchboard with code that you can maintain.  It is based on the original Access Switchboard but has some modifications.  I have other, more extensive versions that use the additional columns in the Switchboard Items table and come with a Switchboard Items table maintenance form but this is a start.

Unlike the original Switchboard, it is not limited to 8 items per page.

It uses themes so if you change the theme of your app, the Switchboard form should adapt or you can colorize it yourself or add a background image.
Switchboard-Simple141022.zip
0
 

Author Closing Comment

by:Frank Vertin
ID: 40414894
This is the solution that is closest to what I wanted. I may have more questions on this, later
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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

757 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