Results 1 to 6 of 6
  1. #1
    Joe_A is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2011
    Posts
    8

    Combo Box not growing with lookup table

    Hello again, my favorite place to come and get help from.


    I have a new problem to me, but it may be old on the forum and I just can find it.
    I have a DB that that is growing slowly. To keep it simple I have 2 tables and one form. One of the tables is a “ASSET_lookup” table. The other table (ASSETS) is the real meat and potatoes. I have a form for the assets table that will populate specific fields that are looked up based on a single combo box linked to a query from the assets_lookup table. Everything worked fine until I needed to add some additional items to the asset_lookup table. The new “records I added to the lookup table will not show up in the combo box after it updates (a selection is made). I did some experimenting and if I recreate after adding the new records to look up table, the combo box will show the value, but I am curious what I am missing.

    Thanks for you time

  2. #2
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228
    When the form with the combo box is opened, the combo box is populated at that time from its defined record source. If the source table is updated after that, the combo box must be requeried in order to refresh the source data. Syntax:
    Code:
    combobox.Requery

  3. #3
    Joe_A is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    8
    When I try to use the requery it gives me an error with some blurb about a possible read only or not the right form.

  4. #4
    Joe_A is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    8
    Sorry. I tried that and then realized I may not have asked my question right. The new parts I added to the look up table show up in the drop down for the combo box. However after I select it, the form work as it should meaning the other fields that auto populate based off the combo box value, with the correct information. But the combo box goes blank. This only happens on the part numbers that I added to the table after creating the form and combo box. I did the requery but that did not help. If I create a new combo box the form works fine. crazy.

  5. #5
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228
    That shows that some properties were messed up in the first combobox.

  6. #6
    Joe_A is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    8
    Thanks goodguy for your help. I am still unclear what settings could have done this but the work around is fine I just hope I don't have to recreate the box each time I need to add parts to the look table

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

Similar Threads

  1. Replies: 1
    Last Post: 07-19-2011, 06:09 PM
  2. growing all fields when one field grows??
    By mooseisloose in forum Forms
    Replies: 0
    Last Post: 03-23-2011, 09:26 AM
  3. Combo Lookup
    By b123 in forum Forms
    Replies: 1
    Last Post: 02-24-2011, 11:24 AM
  4. Combo box lookup confusion
    By redpenner in forum Forms
    Replies: 5
    Last Post: 08-19-2010, 08:45 PM
  5. Data base is growing in size
    By shahemaan in forum Access
    Replies: 11
    Last Post: 12-18-2009, 07:16 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