Page 43 - AIS access_chang_ingraham
P. 43

MICROSOFT ACCESS   41



                                             -                                 -                --
                                .:l Customer Table: Table                                                   -bJ[g]~'
                                       Reid N.me  I  D.l1l Type  I                   Descriotlon                   '"
                                ~  CustomerIDl    Text                               --            -                "
                                I--                                                           -   -                '-
                                I-                                                                  -
                                I-            d             t     ---
                                I- -                       -L..:-             --                       -  ---  -
                                I-                                               - -              -
                                I--
                                I--                                                                          -
                                I-                         L-                                                      L
                                I--                                                                        --
                                                                       Reid Properlles
                                f-                                                                                 --
                                                                                          ~
                                  Gene,.1 I Lookup j
                                  Field Size    50         -
                                  Form.t
                                 Input M.sk
                                 ClIptlon
                                  Default V.lue                             -
                                  v.lld.tlon Rule                                A field name, can be up to 64 characters long, Including spaces.
                                 V.lldation Text  -                                       Press Fl for help on field names.
                                  ReqUired      No
                                 AlloVi Zero Length  ~.             -
                                 Indexed        Yes No Duplicates)         -
                                  Unicode Compression  ~                -
                                  IME Mode      No Control
                                 IME Sentence Mode  None
                                  Smart T.gs    I
                               ~n 'leN. F6 = SWItch panes. F1 = ~.                                         NUM
                               FIGURE 3-7


                                    Notice that when you move from the Field Name column to the Data Type column,
                               a Field Properties pane is displayed at the bottom of the screen. As noted at the bottom
                               of the screen in Figure 3-7, you can toggle to the Field Properties pane by pressing F6 or
                               you can move to the Field Properties pane by moving your mouse to the desired field.
                               This pane allows the user to specify the properties for the chosen field and type.


                               Data Input Controls

                               Data input controls deal with the accuracy and completeness of data that are entered into
                               the database. Some of the most important input controls are data entry verification such as
                               closed-loop verification, completeness control, (discussed later) and edit checks. Edit
                               checks are incorporated into the design of each field to verify and validate the accuracy of
                               data. Table 3-1 describes the most important field properties in Access. Most of these can
                               be used as edit checks.
                                    5. Press F6 to switch to the Field Properties pane of the Table window and set the
                               properties as described in Table 3-2.
                                    6. The Data Types for all subsequent fields in the Customer Table should be set to
                               Text. The second Field Name should be 'CustomerName, the Field Size is 45, and the
                               Caption should be Customer Name. The third Field Name should be CustomerAddress,
                               the Field Size is 35, and the Caption should be Address. The fourth Field Name should be
                               CustomerCity, the field size is 25, and the Caption should be City. The fifth Field Name
                               should be CustomerState. The Field Size is 2. In the Field Properties pane, set the Input
                               Mask property for the CustomerState field by typing>LL as shown in Figure 3-8. The
                               ">" symbol means that everything that follows will be in uppercase. An "L" symbol means
                               that it must be a letter. Therefore, this input mask will result in any input being changed to
                               two capital letters. For example, if you were to type "ca," Access would change the input
   38   39   40   41   42   43   44   45   46   47   48