Results 1 to 3 of 3
  1. #1
    jmuirman1 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2016
    Posts
    84

    Combo box selection is a number in the table/query

    I created a combo box to get values from another table. it works.



    However, in the table/query i see only a number but want to search the field via text.

    TYPE
    Business App
    Personal App
    Software
    Hardware

    how do i show the text in the table/query so that i can search text rather than a number.

    thanks,

    John

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    how do i show the text in the table/query so that i can search text rather than a number.
    You don't. Tables are for storing and relating data. To view the data the way that you want to see it, create a query and use that as the data source of a form or a report. The query will join the two tables and the the text value can be show in a column (field) of the query.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Do search in a form, not table or query. Review http://allenbrowne.com/ser-62.html.
    User sees text but your code could use number ID for search parameter. Controls used to enter search criteria should be UNBOUND.
    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. Replies: 18
    Last Post: 04-17-2014, 09:53 AM
  2. Replies: 10
    Last Post: 07-01-2013, 06:17 AM
  3. Selection in Combo Box to set Yes/No in a Table?
    By alpinegroove in forum Forms
    Replies: 1
    Last Post: 01-08-2012, 06:24 PM
  4. saving Combo Box selection to a table
    By rmiell in forum Access
    Replies: 1
    Last Post: 10-04-2011, 11:38 AM
  5. combo box selection stored in table
    By combine21 in forum Forms
    Replies: 1
    Last Post: 12-02-2010, 09:57 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