• Progress Bar Freezes (Access 2003)

    Author
    Topic
    #438490

    I’ve setup a common form (F_ProgressBar) that includes a text box and a Progress Bar (add-in from ‘More Controls’). When I run a piece of code, I call this form and set the progress bar to the percent complete when looping through a recordset. I have a few pieces of code that can take up to 10 minuts to run so I want to go to another application to do other work, however when I do, the progress bar freezes and from that point forward I’m unable to find out where I’m at in the process. Is their any way to refresh this or keep the progress bar from freezing when I move to another application?

    As an FYI, I have dual monitors and keep Access up on one and do other work off the other.

    Thanks in advance for the help.
    Drew

    Viewing 0 reply threads
    Author
    Replies
    • #1045709

      Insert one or more lines

      DoEvents
      Me.Repaint

      in the loop

      If the code runs from another form, use

      Forms!F_ProgressBar.Repaint

      instead of Me.Repaint.

    Viewing 0 reply threads
    Reply To: Progress Bar Freezes (Access 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: