turn hourglass off
From: Emily V (anonymous_at_discussions.microsoft.com)
Date: 03/10/04
- Next message: Rick: "Text box in form going to multable colunms in a Query"
- Previous message: Djoezz: "RE: String function [thanks]"
- In reply to: RobFMS: "Re: add hourglass to command button"
- Next in thread: RobFMS: "Re: turn hourglass off"
- Reply: RobFMS: "Re: turn hourglass off"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Mar 2004 06:31:08 -0800
Ok, now that I have the hourglass ON - it won't turn off!
I included the DoCmd.Hourglass False in the code...
Here's the full code.
Private Sub runUpdateQuery_Click()
On Error GoTo Err_runUpdateQuery_Click
Dim stDocName As String
stDocName = "qryUpdateLandCSZ"
DoCmd.SetWarnings False
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.SetWarnings True
RetValue = MsgBox("Thank You", vbExclamation)
DoCmd.Hourglass True
Exit_runUpdateQuery_Click:
DoCmd.Hourglass False
Exit Sub
Err_runUpdateQuery_Click:
MsgBox Err.Description
DoCmd.Hourglass False
Resume Exit_runUpdateQuery_Click
End Sub
- Next message: Rick: "Text box in form going to multable colunms in a Query"
- Previous message: Djoezz: "RE: String function [thanks]"
- In reply to: RobFMS: "Re: add hourglass to command button"
- Next in thread: RobFMS: "Re: turn hourglass off"
- Reply: RobFMS: "Re: turn hourglass off"
- Messages sorted by: [ date ] [ thread ]