Chapter 7. Creating Basic Access Forms

IN THIS CHAPTER

  • Creating different types of forms

  • Adding controls to a form

  • Working with the Property Sheet

Forms provide the most flexible way for viewing, adding, editing, and deleting your data. They're also used for switchboards (forms with buttons that provide navigation), for dialog boxes that control the flow of the system, and for messages. Controls are the objects on forms such as labels, text boxes, buttons, and many others. In this chapter, you learn how to create different types of forms. I also fill you in on the types of controls that are used on a form. This chapter also discusses form and control properties, and how you determine the appearance and behavior of an Access interface through setting or changing property values.

The forms you add to an Access database are a critical aspect of the application you create. In most situations, users should not be permitted direct access to tables or query datasheets. It's far too easy for a user to delete valuation information or incorrectly input data into the table. Forms provide a valuable tool for managing the integrity of a database's data. Because forms can contain VBA code or macros, a form can verify data entry or confirm deletions before they occur. Also, a properly designed form can reduce training requirements by helping the user understand what kind of data is required by displaying a message as the user tabs into a control. Or, a form can provide default values or perform calculations ...

Get Access® 2010 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.