Results 1 to 6 of 6
  1. #1
    AnnSparks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Location
    Texas
    Posts
    3

    Saving multiple values in look-up combo box

    I am using Access 2007, and have been trying to add a combo box to my form. I would like for the combo box to save multiple values to two fields (both fields are in one table). I do not get any message about "adding multiple values" when I set up the combo box, and I can't find this in my property sheet. Is there some way for me to save multiple values?
    Thanks for your help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Field in table must be set up for multi-value then the combobox bound to that field can be set for multi-select.

    I NEVER use multi-value fields.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    AnnSparks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Location
    Texas
    Posts
    3
    Thank you for your reply. I don't think I made my question clear, and I do apologize for that.
    I am using an unbound combo box, so neither column is tied to any table field. I created a query, from one table (tbl_Wells), with the two columns for the combo box (customer name and well information). The unbound combo box is in the header portion of a form with two subforms. When the user selects a customer & well, the data selected in the combo box ideally would be tied to two fields in the tbl_Invoice_Header - this would help control data input.

    If this is not possible, can I restrict the well information displayed to only show the wells tied to the selected customer? I am a novice with VBA.

    Thanks - have a good day, Ann

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Ann,

    There is info at Martin Green's site on dynamic reporting. I think it may be useful to you especially the dialog stuff.
    It's worth a read. I hope it is applicable.

    I don't use, nor recommend, multivalued fields either.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    You might want dependent (cascading) comboboxes. Review http://www.datapigtechnologies.com/f...combobox2.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    AnnSparks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Location
    Texas
    Posts
    3
    I have checked out both sites and have found some great information. I have decided to use the regular combo boxes for my form. I don't want the users to run into problems. I appreciate your help - thanks.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Saving Values from Combo Boxes in a Table
    By sidewinder2 in forum Forms
    Replies: 12
    Last Post: 07-11-2013, 12:47 PM
  2. Replies: 21
    Last Post: 10-05-2012, 11:36 AM
  3. Replies: 1
    Last Post: 09-20-2012, 03:40 PM
  4. Multiple Combo box - duplicating values
    By Haleakala17 in forum Forms
    Replies: 2
    Last Post: 09-18-2012, 06:26 PM
  5. Replies: 0
    Last Post: 12-19-2006, 09:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums