Results 1 to 4 of 4
  1. #1
    HansBades is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    85

    FromDropDownValues linked to table


    I am developing a form to enter work orders for building repairs for a company. I have a table of approval codes that are needed for each sku. For instance if a door handle is requisitioned for replacement, there needs to be an approval code. Sometimes, that approval code would be safety and sometimes just cosmetic. I would like a drop down for approval codes for each sku that correspond to the approval code list in the approval code table. I tried to setup a lookup, but the dropdown on the form returns the ID for the approval code rather than the text of the approval code. For instance, it shows ID 1 in the dropdown box on the form instead of “cosmetic”. How can I get the drop down on the input form to show the text values from the approval code table? Thank you.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,570
    You bind to that field, but hide that column with a width of 0
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,941
    For instance, it shows ID 1 in the dropdown box on the form instead of “cosmetic”.
    assuming your combo rowsource is something like

    SELECT approvalPK, approvalName from tblApprovals

    set these properties
    bound column=1
    column count=2
    column widths=0

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,570
    Watch some of these.
    Plus other videos on Access there.

    https://www.youtube.com/results?sear...=access+combos
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Replies: 3
    Last Post: 12-17-2015, 07:01 AM
  2. Replies: 4
    Last Post: 03-02-2015, 07:54 PM
  3. Replies: 9
    Last Post: 10-20-2014, 04:00 PM
  4. Replies: 2
    Last Post: 04-15-2014, 10:03 PM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 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