Results 1 to 4 of 4
  1. #1
    RikApple is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2019
    Location
    Leeds UK
    Posts
    11

    When is a short text field not a short text field?

    Hi all,

    Weird issue i hope someone can help me with. I have a form which has a combobox linked to a table.

    The table data is in the correct format (Short Text) and on the table is shows text. But when I select the combobox it puts the Line ID there instead.

    I have worked back through all the tables, and forms and there is no reference to this field as a number, always Short text)

    Click image for larger version. 

Name:	1.JPG 
Views:	16 
Size:	26.4 KB 
ID:	39841

    This is what I get when i set up a lookup from this table



    Click image for larger version. 

Name:	2.JPG 
Views:	16 
Size:	22.4 KB 
ID:	39842

    never come accross this before, only thing i can think of is that i did copy and paste a few lines of data but I cannot see how that would make a difference?

    Any ideas or suggestions would be most welcome!

    Thanks in advance!

    R

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    if you have the combo box is bound to the 1st column, then your 1st column is ID and thats what get put there. (the HIDE column wont display it)
    if you want a text field selected and put in the field, then remove the hidden field (ID) from the query, so what the user sees, is what get put in the final field.

  3. #3
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,861
    On another note: You should eliminate the spaces and special characters in your field names. You'll thank yourself later.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,649
    Don't build lookups in tables. http://access.mvps.org/Access/lookupfields.htm
    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. How To Reduce Default Short Text Field Size
    By VICTORE in forum Access
    Replies: 5
    Last Post: 08-06-2019, 01:43 PM
  2. Replies: 4
    Last Post: 02-11-2019, 12:59 PM
  3. Converting Hyperlink field back to short text
    By gksmith5 in forum Access
    Replies: 3
    Last Post: 06-02-2018, 01:19 AM
  4. Replies: 13
    Last Post: 04-12-2017, 08:11 AM
  5. Replies: 2
    Last Post: 02-10-2015, 02:12 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