Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6550163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:10:58+00:00 2026-05-25T12:10:58+00:00

Ive been having an extremely annoying problem that recently started to happen. My Listbox

  • 0

Ive been having an extremely annoying problem that recently started to happen.

My Listbox are not updating right away. For example on my main form “A” has a listbox with an sql statement (Simple… returns 5-20 rows). I have an edit button underneath that when clicked opens a new form to change the data. That form submits an update query and then calls a global function which requiries all of the related listboxes (the one on Form A). The only problem is the listbox doesnt change and seems to hang/lag. if i select the listbox and continuously hit f5, after a few seconds it will randomly refresh correctly.

Does anyone have any idea of what the problem is?

Ive been troubleshooting this for two days now and know its not a network problem as it also happens locally, using a recordset and looping it to manually set the listbox values works fast, but for some reason all my listboxes in my application is doing this.

Is it a setting I accidentally changed or if you define to many relationships does this happen (I recently added another table)?

EDIT:
Forgot to mention, the DB is on a shared drive and is only 2MB, only recently has it started to do this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:10:59+00:00Added an answer on May 25, 2026 at 12:10 pm

    I eventually found the problem, hopefully this helps someone in the future.

    It had to do with using:

    CurrentDB.Execute
    

    this method runs synchronous in the background, therefore the listbox was being refreshed before the sql UPDATE/INSERT/DELETE was complete.

    To fix this I instead used:

    Docmd.RunSQL
    

    This has solved the problem, however I noticed this method only works on Microsoft Access Databases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ive been faced with a problem recently that I can't think of a good
I'm having a problem that I've been trying to solve for a while, but
Ive been working with the twitter oauth and api and im having a weird
I've been having problems running eclipse. This is the exception that was thrown after
I've been having a spam problem on my site, where people sign up and
Ive been having some problems regarding circular references when converting EF entities to json
I'm having a problem understanding the shift/reduce confict for a grammar that I know
I've been having an issue which is extremely odd to me. The graphic I'm
Okay so ive been reading up on and working with SQLite recently (someone on
Ive been playing with the ajax tools in jQuery and am having an issue

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.