Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    327
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Setting textbox of open form (Access 2000)

    I have a form that acts as a popup window to give the status of the processing to the user. The main form sets the text of the popup form. The problem that I having is that I cannot get the pop window to update before the code in the main form continues. The popup window text always seems to be halfway updated. Is the a way to pause the code (which is a loop) from running for about 1 or 2 ses to update this window? The popup window is set to modal as well

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Setting textbox of open form (Access 2000)

    I'm sorry, but I don't understand what you're trying to say. When you say the popup always appears to be half populated, do you mean that the graphic isn't completely painted or the message is incorrect, or what? If you aren't seeing the whole form, try using Me.repaint in the popup form's code.
    Charlotte

  3. #3
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    327
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Setting textbox of open form (Access 2000)

    Usually the message will not update, or it will, but you will see the textboxes white background

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Setting textbox of open form (Access 2000)

    Like Charlotte wrote, put Me.Repaint in the On Load event of the form. This forces the form to be displayed correctly when it opens.

  5. #5
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    327
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Setting textbox of open form (Access 2000)

    You guys rock!

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •