Results 1 to 8 of 8
  1. #1
    jurbin is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2014
    Posts
    15

    Number ID instead of Name showing when Access/Excel Connect

    Hello, I am currently having an issue with my Access Database that I tried to connect with Excel. For some reason when I try to connect my Excel Table to my Database, the infomation updates in excel, but for some reason in columns where I used a combo box to select from a table in access, it lists the ID number instead of a persons name. I have tried to change the formula, but it seems to always just export/update the ID number instead of the name that shows in the table. When I actually click 'EXPORT' the name exports, but if I try to link my excel doc to an access DB, only the ID number exports instead of the name. Any help?>

  2. #2
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402
    check the combo box column count and bound column. If the bound column is set to 1 and the combo box field widths are set to say 0cm;5cm then you only see the second column data and not the linked column which is probably the Id field.

  3. #3
    jurbin is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2014
    Posts
    15
    Here is a screenshot of my combo box. Do you know what I would need to do in order to change the output?

    Click image for larger version. 

Name:	3333333.png 
Views:	13 
Size:	20.1 KB 
ID:	15661

  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,722
    Change the bound column to 2 and try it.

  5. #5
    jurbin is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2014
    Posts
    15
    Quote Originally Posted by orange View Post
    Change the bound column to 2 and try it.
    Thanks Orange, but I did try that and all that did was actually change the item type to the number ON my database now as well as the connected excel sheet. Previously it looked good in the database but not when moved into the sheet.

  6. #6
    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,722
    Have you found a solution?
    I believe combo box field numbering is 0 based (start with 0 not 1) so I don't see why your origiinal set up was passing the ID and not the Name.

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    You are building Lookup in table. Advise against that. http://access.mvps.org/access/lookupfields.htm

    What is the query that Excel is linking to? Does it include Employees_tbl so the related name fields are available?

    According to your other thread you are not able to see queries from Excel therefore you must be linking to table that is saving the value from combobox. In which case, the actual value is the ID and that is what the Excel link will retrieve.
    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.

  8. #8
    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,722
    Good point June, I didn't pick up on the table. The OP mentioned combobox.

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

Similar Threads

  1. Report Showing ID number and not the name
    By tipopilotas in forum Reports
    Replies: 11
    Last Post: 07-20-2015, 03:21 PM
  2. Replies: 1
    Last Post: 11-21-2013, 10:28 AM
  3. Number showing in wrong format
    By Douglasrac in forum Database Design
    Replies: 10
    Last Post: 05-26-2011, 05:43 PM
  4. Replies: 5
    Last Post: 03-29-2009, 07:20 AM
  5. Excel number format not working in Access
    By toad848 in forum Access
    Replies: 3
    Last Post: 03-24-2009, 11:06 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