Page 79 - AIS access_chang_ingraham
P. 79

SALES/COLLECTION PROCESS OVERVIEW    77



                                   Notice that the title of the report "Sales Invoice Report" appears only once for all
                              of the invoices. The title is in the Report Header section of the report. The Report
                              Header section is used to place information at the beginning of a report. We want the
                              title to appear at the beginning of every Sales Invoice. Therefore, we need to move the
                              label control and the line object from the Report header section to the InvoiceNo
                              Header section.

                                   22. Click on the top of the Detail section bar and drag it downward about 1Y4 inch.
                                   23. Before we begin to move any labels or any controls, notice that the width of the
                              Report is 6Y2 inches. It is important that you do not exceed this width. If you do, Access
                              will place labels and controls on a second page. Now place your cursor to the lower right
                              of all the labels and controls in the InvoiceNo Header section and drag it to the upper left
                              so that you select all of the labels and controls in that section. Drag them downward so that
                              they are once more aligned with the top of the Detail section bar.
                                   24. Select the label control and line object from the Report Header section in the
                              same way, by placing your cursor to the lower right and dragging it to the upper left. Drag
                              them to the InvoiceNo Header section.
                                   25. Select View and deselect the Report HeaderlFooter section from the menu to
                              delete this section.
                                   26. Select View again and deselect the Page HeaderlFooter section from the menu
                              to delete this section. If asked, click the Yes button to confirm the deletion.
                                   27. Since this is the Sales Invoice we are giving to our customers, we do not need
                              the word report to be included. Edit the title by clicking on it and deleting the word
                              "Report."
                                   28. We also need to rearrange the customer information so that it appears in the
                              proper order (CustomerCompName, CustomerAddressl, CustomerAddress2,
                              CustomerCompAddress), with all fields on the right side of the invoice. Remove the
                              labels for these fields.
                                   29. To make the form more user-friendly, we can adjust the length of the InvoiceNo
                              and InvoiceDate fields.
                                   30. Now we need to work on the spacing of the labels and related controls so they no
                              longer overlap. We can delete the ExtrasID field since we do not need that. In addition, we
                              will need to leave space on the right side since we do not have a field to extend the price.
                                   In creating space for all of the fields, we can increase the depth of the description
                              fields.
                                                                      ; ,
                                   31. Now we are ready to extend the'price of each surfboard purchased. Click on the
                              Text Box      icon and draw a rectangle in the space you have made at the right of the
                              Detail section. Delete the Label. Right click inside the Text Box and click on Properties.
                              Click on the All tab. In the Control Source property, type: = [QuantityOrdered]
                              *([InventoryPrice] + [ExtrasPrice]). Change the Name property to ReportExtension
                              and change the Format property to Currency. Close the Properties window.

                                    32. Click on the Label      icon and draw a rectangle in the empty space in the
                              InvoiceNo Header section. Type "Extension" in this rectangle.
   74   75   76   77   78   79   80   81   82   83   84