Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Posts
    72

    Unanswered: Problem with repainting window

    I have the following code:

    If MsgBox("DO YOU WANT TO POST THE OVERPAYMENT AMOUNT TO PAYMENT ON ACCOUNT?", 4, "IMPORTANT") = vbYes Then ......

    The form where this code is being used is a popup. For some reason the msgbox does not appear on top of the popup form unless I repaint the screen. Problem is I cannot repaint the screen because the msgbox is part of the vbYes statement which is true or false - and Access is waiting for an answer. So where do I put the repaint statement? Any ideas?

  2. #2
    Join Date
    Oct 2003
    Location
    Canada
    Posts
    574
    Popup forms are supposed to remain on top. You could hide the form before opening the msgbox:

    Forms!Bills.Visible = 0

Posting Permissions

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