Results 1 to 4 of 4
  1. #1
    brobertson89 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Posts
    19

    Combo Box Value into multiple tables

    I have created a combo box in a form that works off a query using another table (we will call table 2). The form was created using table 1 so now the values in this combobox do not store into the column in table 1, how do I make this happen?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Set the combobox ControlSource property to the field you want to save data into.
    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
    brobertson89 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Posts
    19
    Thank you again June7!

    So I have that working but now because there is two columns (ID and the actually description) and I only want to store the description how do I do this? because at the moment it is storing the ID

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    If you are just referencing the table as RowSource, options are to delete the ID field from the table (if you don't use it anywhere it is unnecessary) or move the ID field so it is below the description field in table design or set the combobox BoundColumn property to 2.

    Or use an SQL statement in the RowSource to exclude the ID field: SELECT [description] FROM tablename;
    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: 4
    Last Post: 10-09-2013, 03:44 PM
  2. Combo Box to find records from multiple tables
    By cbella625 in forum Access
    Replies: 3
    Last Post: 08-15-2013, 12:12 PM
  3. Replies: 3
    Last Post: 01-30-2012, 09:43 AM
  4. Replies: 5
    Last Post: 12-19-2011, 02:53 PM
  5. Replies: 10
    Last Post: 07-12-2011, 11:09 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