Page 72 - AIS access_chang_ingraham
P. 72

70   CHAPTER 4 SALES/COLLECTION BUSINESS PROCESS



                               8. The next window allows us to choose how we want Access to store the description.
                         We can either have it remembered for later use or stored in the ExtrasDescription field.
                         Click on Store that value in this field and select ExtrasID from the pull-down menu. This
                         binds the data that is selected in the Sales Form to the Extras Table. Click on Next.

                                                                                -- -   ~.
                          Combo Box Wizard

                                            Microsoft Office Access can store the selected value from your combo
                                            box in your database, or remember the value so you can use it later to
                                            perform a task. When you select a value In your combo box, what do
                          I   IZlllXlIZII:  .  I  you want Microsoft Office Access to do?
                                    .,.,,,
                             [-I ~"
                              lllllI  "".  ~  o Remember the value for later use.
                              - ~ """"
                              - .l-        @ ~tore that value in this field:  ,1!mmIDJ  I~J
                          I I~"u~""il
                               III xu.u XIX
                               DlkD OIIU
                               ...
                          I






                                             I  cancel  I I  < ]lack  II  Next >  I  [  Einish  I


                         FIGURE 4-21

                               9. Finally, the label for the Combo Box should be Extras Description. Click Finish.
                               10. We already have a label for the newly created Combo Box so we can delete the
                         new one. Be careful not to delete the Combo Box.
                               11. Open the form in Form View and examine your new Combo Box by clicking on
                         the pull-down menu to ensure that all descriptions are clearly visible. The column widths
                         can be adjusted by returning to the Design View, right-clicking on the Combo Box, and
                         selecting Properties. The Column Widths property contains a listing of each of the column

                                                 ._-
                         I!~ Combo Box: Combo14                - -.-,.,..--                ~
                                                    G:
                          leombo14
                          .---
                          Format  Data  Event I Other I  All  I
                           Name .....•••........... Combo14
                           Control Source ..•......... ~sID                                 ~
                           Format ..............••••
                           Decimal Places .....• , ....• Auto                            I
                                                             --
                           Input Mask ...............       -  -                   --
                           Row Source Type ...••..... Table/Query
                           Row Source .............. SELECT [Extras Table].ExtrasID, [Extras Table].ExtrasDescriptiOi
                           Column Count •............  ~
                           Column Heads •.•.•........ No
                           Column Widths ............ Q:;1.4327";0.6577"
                           Bound Column ....•.•..•... ~
                           List Rows ........•.•••... 8
                           List Width ................ 1.~917"
                                                              -                   --
                           Status Bar Text ....••......
                           Limit To List .........•.... IVes                                E
                         FIGURE 4-22
   67   68   69   70   71   72   73   74   75   76   77