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
165 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
[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
3 Comments
 
LVL 120

Expert Comment

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

docmd.openform "nameofForm"
0
 
LVL 38

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

696 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