|
![]()
Creating an Access Database - Step 4: The Forms - The Switchboard FormThis is going to be the form that will be displayed when the application starts, and will enable the user to navigate to the other parts of the database. As such, it is only going to have 5 buttons on it. Access does have a built-in Switchboard Manager Add-In, but I find that this doesn't give you great flexibility. The switchboard form will also perform any required actions on the start-up of the database. For example, if this was a database that was linked to another database (for example, all of the data was held in a separate database), we could check here whether the path to the linked database was still valid. Start by creating a new form, and add five command buttons to the form. Make the command buttons 1cm by 1cm in size, and align them vertically. From the top down, give them the following names:
Set the following properties for the form:
We then need some code behind the form, in order to get these buttons to perform as required:
You can now save this form as frmSwitchboard, and close it.
Copyright & Disclaimer | |||||||||||||||||||||||
| Last modified at 06/06/2006 15:01:44 | ||||||||||||||||||||||||