Results 1 to 3 of 3
  1. #1
    Bentley is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    50

    combo Box stored values

    Hello,



    I have created a combo box in the form and have a the selected item stored into a field in a table. However, when this value is stored, it is saving as the primary key. How do I change this to show the actual value from the combo box when called up in another form or a report or even the table? I know it isn't difficult, but I am stumped. Please help Access Guru's.

    Bentley

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    depending on the functionality of the form (i.e. user can/can't change the value) either use a combo box (with a rowsource same as you have already) or in your recordsource query link the two tables together and bring down the required value

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Normally you'd save the key value; that's part of their purpose. This may be appropriate:

    http://www.baldyweb.com/Autofill.htm

    if you insist on saving a different value, you can change the bound column property of the combo.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 19
    Last Post: 09-25-2015, 10:26 PM
  2. Replies: 4
    Last Post: 03-12-2015, 08:24 AM
  3. Replies: 5
    Last Post: 05-17-2011, 11:02 AM
  4. combo box selection stored in table
    By combine21 in forum Forms
    Replies: 1
    Last Post: 12-02-2010, 09:57 PM
  5. Passing variable values to Stored Procedure
    By rodrigopcnet in forum Access
    Replies: 1
    Last Post: 04-14-2010, 10:35 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