Results 1 to 6 of 6
  1. #1
    mfearer94 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Posts
    21

    Exclamation Combobox shows up in query and table, but not in form!

    I'm almost done with my db and then I remembered that I forgot to turn one of my text fields into a combo box.

    So I went into the table and turned the field into a combo box using a value list with a bunch of values that I input.
    Then I went to the query thinking that the information would be updated, but it wasn't.
    So, I input the same information in that field for the query as I did for the table.
    Then I went to the form and I click and its just a plain text box with no drop down menu or anything.



    The table and query both have the drop down feature with the values that I input.
    The form is based off of the query and all of the other fields work.
    Please help so I can finish this and thanks in advance.

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I'm almost done with my db and then I remembered that I forgot to turn one of my text fields into a combo box.
    This is considered a bad thing to do..... and a big waste of time (IMO).

    I have never used "Lookup FIELDS". No experienced Access programmer I know of uses "Lookup FIELDS".

    "Lookup FIELDS" are marginally helpful if the dB is only for your use and you use tables/queries to enter/edit the data.
    If the dB is used by other people, you need to use forms for adds/edits. A used should never directly edit a table/query.
    Using a form, you still have to create a combo box, even if the bound field is a "Lookup FIELD".

    See The Evils of Lookup Fields in Tables
    http://access.mvps.org/access/lookupfields.htm

    Best thing you can do is remove all "Lookup FIELDS" from your tables and create proper combo boxes.


    My $0.02

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Control created on form before table edit will not automatically be modified.

    I agree with Steve, I never set lookups in tables.
    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.

  4. #4
    mfearer94 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Posts
    21
    Wow, thanks guys for the help. I now see the evil of lookup fields, but are there any pros to using lookup fields instead of combo boxes?

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Lookups themselves are not evil, it is using them in tables that is.

    A combobox IS a lookup. We are just recommending you don't set in table.

    I've never used the Lookup Wizard. I avoid the wizards in general.
    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.

  6. #6
    mfearer94 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Posts
    21
    Gotcha and thanks for the help. You guys saved me a lot of future headaches.

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

Similar Threads

  1. Replies: 9
    Last Post: 01-22-2014, 01:27 PM
  2. Replies: 1
    Last Post: 04-26-2013, 05:30 PM
  3. Replies: 12
    Last Post: 11-23-2012, 11:41 PM
  4. Replies: 3
    Last Post: 04-13-2012, 10:39 AM
  5. Replies: 5
    Last Post: 10-15-2010, 01:19 PM

Tags for this Thread

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