Page 61 - AIS access_chang_ingraham
P. 61
SALES/COLLECTION PROCESS OVERVIEW 59
3. Hold down the Ctrl key and click on the Customer Table, the Extras Table, the
Inventory Table, the Sales Inventory Table, and the Sales Table. Then click Add and
click Close.
W~
Show Table
ff~.~~~.~·.".1iQueries II Both I
l !:idd )
[ glose ]
Cash Receipt Sale Table
Cash Receipt Table
Cash Table
Customer Ta51e
Extras Table
Inventory Table
Sales Inventory Table
Sales Table
FIGURE 4-2
4. Create the necessary relationships by linking the primary keys to their foreign
keys in the appropriate tables. For example, drag CustomerID from the Customer Table
to CustomerID in the Sales Table. When you do this, the Edit Relationships window
appears; click on the Enforce Referential Integrity button.
Edit Relationships
OK l
Tahle{Query: Related Table/Query: (
ICustomer Table BSales Table A I
,.....C-u-st-o-m-e-rl-O----.r=v-·4..,....C-·u-st-Q-n-le-r-m-,----,....."'.....,. [ Cancel 1
I--------+-------I~ [ Join Typ.e.. 1
[create New.. ]
~ Enforce Referential Inte1jrity
D Cascade Update Related Fields
D Cascade Delete Related Records
Relationship Type: One-To-Many
FIGURE 4-3

