Results 1 to 4 of 4
  1. #1
    cchampagne17 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7

    Question Forms feeding ID numbers into table and not descrpitons


    In my database, the user opens the form and enters data (per usual). When they select items in the combo box, in the table that it puts the data in, it puts the item ID number and not the actual name. For example. When someone selects "flat panels" from a drop down, it records ''flat panels'' ID number, 1, instead of "flat panels" Any ideas how to fix this?

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    That is the way it should be. The key value should be what is stored in the related table not the text value.

    BTW are you using combo/list boxes in your tables? If so, you may want to take a look at this site which explains the problems having lookups in your tables can cause. Lookups are best left for forms.

  3. #3
    cchampagne17 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Is there any way that I can get it to display the discription value and not the ID number?

  4. #4
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You would use a query (bring the two tables in the query design grid, and select the text field rather than the ID field) & then base a form on that query or you can use a form based on the main table with a combo box based on the related table (that holds the text value you want to display). The general rule is that your users should never see your tables; they should only interact with the data via forms.

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

Similar Threads

  1. Replies: 4
    Last Post: 02-12-2012, 02:58 PM
  2. Replies: 1
    Last Post: 11-29-2011, 08:43 AM
  3. Numbers in a table
    By cathyspark in forum Access
    Replies: 1
    Last Post: 09-28-2011, 12:04 PM
  4. Replies: 9
    Last Post: 11-23-2009, 09:20 PM
  5. Feeding fields from one form to another
    By dahand in forum Forms
    Replies: 0
    Last Post: 02-15-2008, 01:48 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