Quamut: the go to how to.
 
 
 
Published_by_bn Sign In Help_but My_quamut_but
 
 
 
   Access 2007 found in Computers & Technology  :  Software  :  Microsoft A   A   A
text size
 
Add to my favorites Send this Quamut to a friend del.icio.us
 

How to Create Access Forms

Once you’ve created and populated a table, you can create forms to enable database users to modify data or enter new data into a table without having to work with the actual cell contents of the table in Datasheet or Design view. Creating a form requires four steps:

1. Set Up the Form

There are a few ways to set up forms in Access; the fastest and easiest for beginners is to use the Form Wizard.
  1. Open the table for which you’d like to create a form and switch to Datasheet view (if Datasheet view is not the table’s default view).
  2. Click on the More Forms icon (Create > Forms).
  3. In the drop-down menu, click on Form Wizard.
  4. In the Form Wizard dialog box that appears, follow the prompts to choose which fields to include in the form, as well as a layout, style, and title for the form.
  5. After you click Finish on the final step of the Wizard, Access will open a new document tab for your form, and your form will appear in the document pane. Access will switch to Form view automatically.
Though you can use the form you’ve just created to enter or modify data in the table, you’ll most likely want to fine-tune the form a bit to suit your preferences. To do that, you’ll need to add controls and set properties for the form.

2. Set the Properties of the Form

Access forms have Property Sheets that let you customize various aspects of the form. When viewing a form in Design view, the Property Sheet appears in a pane to the right of the Document pane. To see all the available properties for the form you’re currently viewing, select Form in the pull-down menu at the top of the Property Sheet pane and then click the All tab just below the pull-down. Once you’ve made these selections, the Property Sheet pane will display two columns of information: a list of available properties on the left and the current setting for each property on the right. To change a setting, click on the setting in the right column and choose a new setting in the pull-down menu that appears.

Popular Form Properties Explained

  • Default View: Lets you set the default view that Access uses when you open the form. In addition to the standard views (such as Datasheet view), you can choose Single Form to view one record at a time or Continuous Forms to view a list of records.
  • Scroll Bars: Lets you specify scrollbars to display on the form (Horizontal, Vertical, Neither, or Both).
  • Navigation Buttons: Turn the navigation features located in the bottom left corner of the form on or off (select Yes or No).
  • Min/Max Buttons: Choose Enabled to let the form be minimized or maximized within the Document pane.
  • Dividing Lines: Select Yes to show dividing lines between records. Applies when viewing forms with views other than Single Form view.
  • Data Entry: Select Yes to allow the user to modify the data in forms for existing records. If you select No, the user will only be able to view existing records, add new records, and modify the data in those new records.
  • Pop Up: Select Yes to open the form in its own pop-up window or No to open it within the Document pane.

3. Add Controls to the Form

Controls are components of a form or report that display data, perform actions, or provide decoration. For instance, controls let you add checkboxes, buttons, charts, and graphics that can make forms more efficient and user-friendly. To add controls to a form:
  1. Open the form by clicking on it in the Navigation pane or by clicking on its document tab (if it’s already open).
  2. Switch to Design view.
  3. Once you’re in Design view, a Design tab will appear in the Ribbon that includes the Controls group, which gives you access to all the available controls.
  4. To add a control to a form, click on the control’s icon in the Ribbon and then click on the location on the form at which you’d like to insert the control. If the control needs you to specify more information, a wizard will open and guide you through the process. For instance, after you insert a button, a wizard will open that steps you through the process of specifying what Access should do when a user clicks on that button.

4. Set the Properties of Controls

Like Access forms, Access controls each have Property Sheets that let you customize various aspects of the control. To view and modify a control’s properties, click on the control in the Document pane (to select it) and then click the All tab just below the pull-down menu in the Property Sheets pane.

Popular Control Properties Explained

  • Caption: The name of the control. Access assigns a default name (such as Button1 or CheckBox1), which you can then change in the Property Sheet.
  • Visible: Sets whether controls appear on the form. Invisible controls are used whenever the user doesn’t need to see the control in order for it to perform its function on the form (such as when using a control that links one form to another form).
  • Width, Height, Left, and Top: These properties allow you to fine-tune the size and positioning of the control. The horizontal position of the control is the Left property, and the vertical position is the Top property.
  • Control Source: Specifies the source of the data that the control displays, such as a field or query. A control is considered bound if it displays data from a specific unchanging source and unbound if it displays the results of a calculation.
  • Enabled: To disable the control, set Enabled to No.
  • Locked: Locks the control’s underlying data to prevent it from being edited. The data can still be viewed.
  • Auto Tab: Automatically moves the cursor to the next field when set to On. Disables tabbing when set to Off.
  • Tab Stop: Determines whether the control is part of the tab order. For example, you’d set Tab Stop to No for a control that displays an image, since you won’t need to enter data into that control’s underlying field.
  • Status Bar Text: Text you enter here will appear in the Status Bar, the blue bar at the bottom of the Access interface. Use for adding descriptions of controls or to give data entry advice to database users.
  • ControlTip Text: Text that you enter here will appear in a small pop-up window when the user mouses over the control. This feature can be useful for providing a quick summary of the control’s name and function.
 
 
  Acknowledgments & Disclaimer
 
 
 
Download the PDF
for just $2.95
 
Access 2007
 
Complete guide
Handy, portable format
 
Access 2007 Chart
 
Buynow_button