Results 1 to 6 of 6
  1. #1
    spoolinaz is offline Novice
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    6

    Table now showing id instead of text

    I've created a "table" with all my cases which includes date, hospital, surgeon, etc. The hospital and surgeon column have always shown the actual name in text (dropdown) and now all of a sudden, it's just showing the ID only. Now when I go to add a new case, I have to know the number instead of the dropdown just working and being able to select a hospital name, etc. I'm not sure how to get it back to showing the actual name instead of the id number associated with it. I think I might have messed it up by removing some relationships by accident. I've not worked with Access in 20 years so just struggling. Any help would be greatly appreciated.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by spoolinaz View Post
    ... I'm not sure how to get it back to showing the actual name instead of the id number associated with it...
    It sounds as though you are using a lookup field in your table. If this is the case and you changed the values in the properties of your lookup field, I am not sure how you would get it back to showing the names either. Perhaps you can look at historical data and reconstruct the lookup.

    If you are not using lookup fields, perhaps you can elaborate where this dropdown is located and what its RowSource is.

  3. #3
    Demerit's Avatar
    Demerit is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2013
    Posts
    125
    From your explanation, it actually shows you are using a lookup Just like ItsMe said. In this "table" that you created, lets illustrate from the Hospital field then you can use that to correct the other.

    1. Go back to the design view of the table.
    2. Select the Hospital field
    3. In the Lookup property, (In the row source, assuming Id comes first and HospitalName comes second otherwise you can set it like that)
    4. In the Bound Column enter 2 (by default, it is 1)
    5. In the column width, enter 0";1"

    then write back if you have a problem.

  4. #4
    Demerit's Avatar
    Demerit is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2013
    Posts
    125
    Note that of you can as well do this on a form.

  5. #5
    spoolinaz is offline Novice
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    6
    Thank you both very much. This was very helpful and I was able to get those back. Whew!

    I'm now getting this new error that you might be able to assist with.

    Microsoft Access can't set the LimitToList property to No right now.
    The first visible column, which is determined by the ColumnWidths property, isn't equal to the bound column.
    Adjust the ColumnWidths property first, and then set the LimitToList property.

    I've played around with this so much I'm sure I screwed it up along the way and just not able to solve it. Suggestions!

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Are you referring to a combobox on a form? You need to adjust the properties of comboboxes in a way they select, display, and bind the correct columns.

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

Similar Threads

  1. Text box showing #name?
    By redbull in forum Forms
    Replies: 7
    Last Post: 06-21-2013, 01:29 PM
  2. Replies: 2
    Last Post: 06-19-2013, 06:13 AM
  3. Showing Rich Text in Linked SQL Tables
    By EddieN1 in forum Access
    Replies: 0
    Last Post: 11-15-2011, 02:30 PM
  4. #Name? error showing in Text box.
    By yes sir in forum Access
    Replies: 2
    Last Post: 09-21-2010, 02:25 PM
  5. Replies: 2
    Last Post: 04-29-2009, 11:50 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