Page 73 - AIS access_chang_ingraham
P. 73

SALES/COLLECTION PROCESS OVERVIEW     71



                              widths. The 0" refers to the left margin. The next figure refers to the width of the first col-
                              umn, etc. Changing these amounts will adjust the width of the columns individually.
                              Alternatively, you can drag out the length of the entire Combo Box, which will increase
                              the width of all columns proportionately.
                                    12. We need to extend the price of the ordered surfboard. To do this, we will have to
                              create a new field. Right-click on the subform's selector box (at the intersection of the
                              two rulers) and select Properties from the pull-down menu. Click on All tab. Click on the
                              Build   . button next to the Record Source.
                                    13. Scroll to the right of the design grid until you reach an open column. Click in the
                              Field cell of this column and click on the Build'   icon. Type Extension: in the upper
                              part of the window. Double-click on the Tables selection in the far left lower window and
                              select the Sales Inventory Table. Double-click on QuantityOrdered. Click on * and type
                              (. Select the Inventory Table. Double-click on InventoryPrice. Type +. Select the Extras
                              Table in the far left lower window. Double-click on ExtrasPrice. Type). Remove the
                              «Expr» that was automatically inserted just after the Extension field name from the
                              expression. Click OK to close the Express Builder.



                                                                                ..
                                                                                          [2]~'l
                               Expression Builder
                                Extension: I[Sales Inventory Table]! [QuantityOrdered] *(  I  OK  I
                                [Inventory Table]! [InventoryPrice,] + [Extras Table]! [ExtrasPrice]
                                                                                          Cancel  I
                                )
                                                                                           Undo  I
                                L..-
                                                                   Likelill     Paste j
                                + - f >cL~l = > < <>1 And  Or Not                          Help  I

                                 - 0 Customer Table  riAl  ExtrasID           <Value>
                              ,
                                 - blExtras Table         ExtrasDescription
                                                          ExtrasCost
                                 -u Inventory Table
                                                          ExtrasPrice
                                 -LJ Sales InVentOryT'G
                                 - LJ Sales Table     - I'
                                (±] Queries
                                (±] Forms               •
                                                     EJ
                                (±] Reports
                                 <I    1111  I    [}]   ,I

                                                                      ,
                                                                                                 A

                              FIGURE 4-23


                                    14. Click on Run     and close and save the changes made to the SQL statement by
                              clicking on the X in the upper right-hand corner of the Query Builder window. Close the
                              Properties window. Click on the Field List icon. Scroll down and find the new Extension
                              field you created. Click on it and drag it next to the ExtrasID field. Click on the Label for
                              the Extension field. Hit Ctrl X. Click on the Form Header portion of the subform and hit
   68   69   70   71   72   73   74   75   76   77   78