Results 1 to 4 of 4
  1. #1
    tcheck is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    131

    Refreshing a combo box


    I am using the following command after a user selects a combo box for an item and I want the person related tot that item to be updated through a different combo box, the command I am using is;

    DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70

    I put this in the After Update on the first combo box and I tried it on the On Got Focus and they both work fine except there is a 5 - 10 second delay before the 2nd combo box populates. Any ideas on how I can make the second Combo Box populate faster?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Try using Me.ComboBox2Name.Requery instead.
    ..using your ComboBox2Name of course.

  3. #3
    tcheck is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    131
    Works great! Thank you!

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You're welcome. FYI, the DoMenuItems have been replaced: http://www.accessruncommand.com/domenuitem.htm

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

Similar Threads

  1. refreshing tables?
    By danbo in forum Access
    Replies: 1
    Last Post: 12-23-2011, 03:05 AM
  2. Replies: 0
    Last Post: 11-23-2011, 04:06 PM
  3. SubForm not refreshing
    By hawkins in forum Access
    Replies: 2
    Last Post: 08-16-2011, 04:30 PM
  4. Refreshing a subform?
    By Shag84 in forum Forms
    Replies: 4
    Last Post: 08-07-2011, 10:07 AM
  5. Refreshing queries without opening them
    By trialpayjinn in forum Access
    Replies: 3
    Last Post: 07-01-2010, 05:04 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