Page 47 - AIS access_chang_ingraham
P. 47
MICROSOFT ACCESS 45
Table 3-3
Field Size 6
Caption Artist 10
Validation Rule Like "77?###"
Validation Text Incorrect Artist 10 format. The Artist 10 must consist of three letters
and three numbers.
Required No
Indexed No duplicates
8. The seventh Field Name is CustomerPhone#. The Field Size is 14. The Caption
is Customer Telephone Number. Use the Input Mask Wizard to set the Input Mask prop-
erty to the predefined Phone Number setting.
9. The last field is called CustomerEmail. The Field Size is 35; use an appropriate
Caption.
10. Congratulations! You are now finished with the table. When you close this object
and all objects in the future, use the "X" in the upper right hand comer of the screen to
save and close the object.
Now we will create the Artist Table.
1. Create a new table in Design view as you did before.
2. Create the Artist Table in a similar way as you did for the Customer Table. The
ArtistlD will be the Primary Key. Its properties should be as described in Table 3-3.
3. Refer to Cherokee's Customer Table structure for the remaining fields in the
Artist Table. Use field sizes similar to those used in the Customer Table.
Completeness Control
Completeness is an important component in internal control. Completeness suggests not
only that all data in a transaction are captured, but also that all transactions are recorded.
Therefore, it is important to ensure that no documents are lost or misplaced. One way to
accomplish this is to prenumber documents and to verify the sequential integrity of the
completed documents. We will use this feature in creating the Purchase Table.
1. Create a new table in Design view.
2. Refer to Cherokee's table structt}~e for the Purchase Table. The first attribute is
Purchase#. This is the first Field Name~.Choose AutoNumber as the Data Type. The
Caption is Purchase #. Make this field the primary key by clicking the Primary Key .
toolbar button.
3. The second Field Name is PurchaseDate. The Data type is Dateffime. Use the
Input Mask Wizard to create the Input Mask property. When prompted to save the table,
save it as Purchase Table. Choose Short Date for the Input Mask as shown in Figure 3-11.
Click on Next twice and then click on Finish. After you tab out of the Input Mask
property, it should look like this: 99/99/00;0;_. The Caption is Purchase Date.

