Results 1 to 2 of 2
  1. #1
    pradeep.sands is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    49

    Question Update a table with multiselect combobox from a Form

    Hey guys,
    I need help. I have a table "tableI" which has one of its fields ("xyz") which is a multi-select combo-box controlled from another table "tableII" (using inner join with ID field and column bound to 2nd field "ABC".)
    Now I have a form which I use to add new records into this tableI. All the fields in form correspond to the respective fields in tableI, however they r not controlled by these fields. they r completely unbounded. After entering information in all fields in the form, when I click on SAVE, all the fields information will get saved into a new record in tableI, for which I have written the code in VBA.


    But I face problem adding information to this multi-select combo-box field in tableI.
    I see that this combobox field of the table is locked. I mean I cannot simply overwrite it. I see that I can only click on drop-down menu of the box to select/deselect the items. Can anyone help me with this?
    Thanks in advance..

  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,825
    I NEVER use multi-value field.

    Review:

    http://office.microsoft.com/en-us/ac...001233722.aspx

    http://msdn.microsoft.com/en-us/libr...ffice.12).aspx

    An attachment type field is also a multi-value field so you might find this of interest.

    http://blogs.office.com/b/microsoft-...cess-2007.aspx

    Basically, whenever using VBA to create a record with multi-value field, requires opening a 'child' recordset.
    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.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-25-2013, 06:07 AM
  2. Replies: 7
    Last Post: 09-21-2012, 11:09 AM
  3. Replies: 1
    Last Post: 11-03-2011, 11:56 PM
  4. Replies: 6
    Last Post: 07-28-2011, 04:07 AM

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