MS Access Databases: Using the Power of Forms

Written by:  • Edited by: Tricia Goss
Updated Jan 7, 2010
• Related Guides: Microsoft | Windows | Database

A database form is both a window and a door to your tables and the rest of your data. Forms give you a wide range of power over your data. Use forms not only to display and update your data, but also to navigate to your growing array of queries, other forms and reports.

Forms Are Windows and Doors

An MS Access database form is both our window and door to the database. As a window, the form gives us a complete, partial or restricted look at our information. As a door, the form is a convenient way to maintain (update, change, or delete) the fields and records that make up our tables

Harness the Power of Forms.

When we join related tables, we harness the power of MS Access as a “relational” database. For example, joining a customer table with a products table instantly allows us to see what products each individual customer bought (in the customer table) and which customers bought each individual product (in the products table).

Double the Power with Subforms

images-2
click to enlarge
Since forms are based on database tables, joining two or more tables will instantly produce a sort of “hybrid” form. In the customer/products example above, using a form “wizard” in MS Access, you could mate an individual customer form with a products subform to display each purchase of that customer. Conversely, you could produce a product form with a customer subform.

Use Forms to Navigate

As your database grows, it not only accumulates more records, but also it acquires more “objects.” Those objects are your new forms, added queries, additional reports, and even new macros -- all of which become indispensable to your daily productivity. Soon those objects accumulate in your object list, and database navigation becomes confusing and cumbersome.

That confusion can be overcome with a switchboard or a personalized navigation form with buttons that take you directly to object you need to display or edit. You can either do this through the MS Access switchboard manager (located on the database tools menu) or prepare your own personalized version of the switchboard.

Use the Switchboard Form

images
click to enlarge

The MS Access Switchboard Manager (on the Database Tools menu) composes a switchboard form and is based on the object destinations the user enters. Somewhat “unintuitive,” the switchboard manager can be a bit confusing. If you are planning to create your own switchboard, see Microsoft’s great instruction page on how to make and maintain switchboards.

…Or Make Your Own Switchboard Form!

images-3
click to enlarge
If you find the switchboard a bit restricting -- it allows only eight buttons per page and is rather drab looking -- consider making your own switchboard with whatever array of buttons and associated macros you need. You can even “gussy up” your switchboard page with graphics and icon doo-dads. Also, you can create a network of switchboard forms that can serve as sub-pages for complex databases. (Hint: Don’t forget that the last button of each form should take you back to the main form.)

Bottom Line: Forms Are Our Friends!

In addition to using forms for to display and edit data from a single table, we can harness the power of the relational database and maintain multiple forms. We can also use our forms to attach buttons that take us directly the work we want to do and tame the tendency of “object bloat” in MS Access.


Comments

Showing all 2 comments
 
Microsoft Access databases Jun 26, 2011 8:01 PM
Forms
Good post. Forms are a lot easier to create in Access 2007, 2010. Just one click is all that is needed. And of course you can also tailor it in the new layout view which I think is quite nice.

www.access-databases.com
George R. forse Jan 22, 2011 12:31 PM
Appreciation
Thank you for the guidance. Now, maybe I will be able to create a switchboard via the wizard instead of copying a working one from another database.
 
blog comments powered by Disqus
Email to a friend