Results 1 to 7 of 7
  1. #1
    Tazmaniac is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2018
    Posts
    19

    Combo box in forms not working

    Hi all!

    I am new to access and need some help.

    I have created a query for a lookup I am using in a table.
    In the table itself I am able to select from the dropdow and store the value but when I add the field to my table the lookup values shows but it does not want to select anything to store.



    I have checked and my combo box does allow edits.

    What else am I missing?

    Thank you in advance!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    I never build lookups in table.

    What do you mean the combobox allows edits? If it allows edits then should be able to select from dropdown.

    Really would have to review table structures and form design. If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  3. #3
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

  4. #4
    Tazmaniac is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2018
    Posts
    19
    Thank you for the reply. I will have a look at it.

    What I did was create a table where my lookup values lie. I then created a lookup field in my main table and linked it to the table with the lookup values in.

    When I enter data in the table itselfs the combo box works perfect and I am able to select a value from the dropdown. When I add the field to my form and click on the combo box the values show but I cannot select any of them. Nothing happens.

    What do you mean you never build lookups in a table? Why not if I may ask? What is the best way to do this?

  5. #5
    moke123's Avatar
    moke123 is online now Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,651
    What do you mean you never build lookups in a table? Why not if I may ask? What is the best way to do this?
    If you read the link Orange provided or googled lookup fields you'd find that they often mask what is being saved in the table and
    are a source of a lot of problems with new developers.

    In your table change the field back to a normal datatype. On your form put your combobox and set the control source to the field in your table. Then set the rowsource of the combobox to the lookup table.

  6. #6
    Tazmaniac is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2018
    Posts
    19
    So just to check if I understand this correct (being new to developing access databases and all) ...

    Instead of ...

    Going to the design view of my table and changing the data type of the field to "Lookup Wizzard..." and must instead ...

    Leave the field on normal text field and in the form insert a combo box and then link it to the table?

  7. #7
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Tazmaniac,

    You might get more context regarding lookup fields and Lookup tables from this thread where the author had similar question/concerns as you.

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

Similar Threads

  1. Working with images in forms and tables
    By WAVP375 in forum Access
    Replies: 3
    Last Post: 02-14-2017, 12:50 PM
  2. Working with labels on forms.
    By Chester Bury in forum Forms
    Replies: 1
    Last Post: 03-23-2015, 12:24 PM
  3. AuditTrail not working on Sub Forms
    By rebeccab in forum Access
    Replies: 3
    Last Post: 12-23-2014, 10:09 AM
  4. Replies: 11
    Last Post: 08-06-2014, 09:47 AM
  5. Forms Order By not working
    By cowboy in forum Forms
    Replies: 3
    Last Post: 04-21-2010, 10:29 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