Multiple Values in a list box

Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default Multiple Values in a list box

    Hi everybody.
    If anyone can tell me how can I choose multiple values in
    a list box (by using ctrl or shift buttons) and store
    them in a table.
    Obviously, since there is only one field for it in the
    table, the program won't let you do it. Any suggestions?

    Thanks
    Gal Guest

  2. Similar Questions and Discussions

    1. Mail values from a List with Multiple Selections with PHP
      Hi, I have a little problem, I have a HTML-mailform with a List/Menu (named informatie) witch allows Multiple Selections (Hold CTRL-key and...
    2. submit multiple values from a list box PHP
      Can any one tell me how to submit multiple values from a list box? I believe it has something to do with Arrays or Loops but i'm not sure. this is...
    3. multiple select list default values (asp/vb)
      (asp/vb) Hi all, I have a multiple select list on an insert record form. I can make multiple selections and insert them into the database...
    4. multiple menu/list values inserted into one mysql column
      Simple problem here for the pros I'm sure. I have constructed a "rockshow" database in mysql for local music artists/bands and I made an input form...
    5. Selecting Multiple Values in a List/Combo Box
      The following should work: On your close button add the following line before the close command getWellList docmd.close
  3. #2

    Default Re: Multiple Values in a list box

    The problem is where will you put the multiple values?

    Since you can't, (and should not) stuff more then one value into a field,
    the a listbox is not the best control to use. Worse, is how will you handle
    when users go back to that record, you will somehow have to "high light" the
    select options.

    The usual solution is to create a another table that is related to the
    record. This is classic one to many relation. You thus use a sub-form to
    allow more then one selection, or item to be added. Often, this means that
    you will use a sub-form with combo box to allow easy selection. Not quite as
    user friend as a listbox, but you can make the whole in work without one
    line of code...so it is a lot less work.


    --
    Albert D. Kallal (MVP)
    Edmonton, Alberta Canada
    [email]kallal@msn.com[/email]
    [url]http://www.attcanada.net/~kallal.msn[/url]


    Albert D. Kallal Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139