Page 110 - AIS access_chang_ingraham
P. 110
108 CHAPTER 5 ACQUISITION/PAYMEI,\IT BUSINESS PROCESS
7. Increase the width of the main form to approximately 6!i inches. Increase the
width of the subform to approximately 614 inches.
8. It would be beneficial if the users had the Supplier's name on the Receiving
Report Table. To provide this, we have to have access to the Supplier Table. Right-click
on the Form Selector (between the two rulers) and select Properties or select View>
Properties. Click on the Data tab. Click on the Build button for the Record Source
of the form and invoke the Query Builder.
9. Click on the Show Table :: icon and add the Supplier Table. Notice that there
is no relationship between the Receiving Report Table and the Supplier Table. As a
result, we will not be able to add the SupplierName to the form. We need to create a link
between the two tables first. Think about what table will provide a link between these two
tables. The Purchase Order Table satisfies this requirement. Add the Purchase Order
Table and notice that the relationships automatically appear between the three tables.
10. Drag all the fields from the Receiving Report Table to the first four fields of the
design grids. Drag the SupplierID field from the Purchase Order Table to the fifth field.
Drag the SupplierName from the Supplier Table to the sixth field.
11. Click on the Run icon. Close and save the query. Close the Properties window.
12. Now that we have created a relationship between the Receiving Report Table
and the Supplier Table, we can add the SupplierName. Click on the Field List micon.
Drag the SupplierName field to the upper right side of Detail section of the form.
Delete the label and stretch out the field to be sure there is enough room for the
SupplierName.
13. Move the SupplierInvNo field below the SupplierName.
14. Exchange the positions of the QuantityReceived field and the
InventoryDescription field.
15. Drag the top of the Detail section bar down and create a title for the form (e.g.,
Receiving Report Form).
-; Receiving Re-port Form; Form
CI . , . I ••• 1 .... I ,. z .. , I ; '-··'--3 ., I ' •• 4 ••• 1
~ Form Header
FIGURE 5-29

