Page 97 - AIS access_chang_ingraham
P. 97

ACQUISITION/PAYMENT PROCESS OVERVIEW    95




                                Edit Relatio,nships


                                 Tab,le/Query:         Related Table/Query:
                                                                                         OK
                                 Purchase Order Tc v PO Inventory Table
                                                                                       Cancel
                                  PONo

                                                                                     Join Typ.e••
                                                                            '--
                                 1-------+-----_-8
                                                                                   (Create Nev.r.. ]
                                 ~ Enforce Referential Integrity

                                  D Cascade Update Related Fields
                                 I
                                  D Casca,de Delete Related Records


                                 R~I,ationship. Typ.e:  One-To-Many



                               FIGURE 5-11






                              information and from the Inventory Table to obtain the description and cost of the items
                              ordered. We will need to be able to write to the Purchase Order Table to enter the PO
                              Number, date, and supplier information and to the PO Inventory Table to list the required
                              Inventory IDs and quantities.
                                    1. Click on the Forms object and double-click on Create form by using wizard.

                                    2. From the Tables/Queries pull-down menu, select the Purchase Order Table and
                              select all three fields for inclusion in the form by clicking ».

                                    NOTE: After you select fields for inclusion from this table and from tables in the
                              future, it is important to be sure that the last field is highlighted in the Selected Fields win-
                              dow. If it is not, the fields will be out of order when the form is created and you will have
                              to rearrange them!

                                    3. Select the Supplier Table and select SupplierName for inclusion in the form.
                                    4. Select the PO Inventory T~'ple and, as before, select InventoryID and
                              POQuantityOrdered for inclusion.       .~
                                    5. Select Inventory Table and select InventoryDescription and InventoryCost for
                              inclusion in the form.
                                    6. Click the Next button. The Form Wizard automatically suggests a layout for the
                              Purchase Order Form (containing fields from the Purchase Order Table and the
                              Supplier Table) with a subform (containing the fields from the PO Inventory Table and
                              the Inventory Table).
   92   93   94   95   96   97   98   99   100   101   102