• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Customizing a Form > Aligning and Sizing Controls

Aligning and Sizing Controls

To learn how to customize a form, switch to the HousingDataCopy.mdb sample database. You need a form to edit and display employee data, and the easiest way to get started is to create a blank form based on the tblEmployees table. First, click the Tables button in the Object bar in the Database window. Select the tblEmployees table and choose Form from the New Object toolbar button. In the New Form dialog box, choose Design View, and click OK to start your new form.

Drag down the bottom margin of the Detail area to give yourself some room to work. Click the Format menu and make sure Snap to Grid is not selected. (I’m asking you to do this on purpose so that you can learn ways to line up and evenly space controls.) Open the field list, and drag and drop each field into a vertical column on your form about 1.5 inches from the left edge, beginning with the EmployeeNumber field and ending with the BirthDate field. Your starting point should look something like Figure 12-1 on the next page. (If you don’t want to do the work yourself to get to this point, you can find this form saved as frmXmplEmployee1 in the sample database.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint