Help ...
OK ... I've included my code and what I'm trying to do is turn the hourglass property on after I've clicked on my label and while I'm waiting to open my query. Then I want the hourglass to go off once the query opens. I've tried a number of things, but I can't seem to get this to work -usually the hourglass stays on a nd won't turn off until I close down my database and don't save the changes. Believe it or not, I've been working on this on and off for the entire day and just can't seem to get this darn things to work. I hope someone is able to help me. Thanks a lot.
Private Sub Label77_Click()
On Error GoTo Err_AC_Printer_Serial_Click
Dim stDocName As String
stDocName = "Qry1_AC_Printer"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_AC_Printer_Serial_Numbers_Click:
Exit Sub
Err_AC_Printer_Serial_Click:
MsgBox Err.Description
Resume Exit_NB_Printer_Serial_Numbers_Click
End Sub
OK ... I've included my code and what I'm trying to do is turn the hourglass property on after I've clicked on my label and while I'm waiting to open my query. Then I want the hourglass to go off once the query opens. I've tried a number of things, but I can't seem to get this to work -usually the hourglass stays on a nd won't turn off until I close down my database and don't save the changes. Believe it or not, I've been working on this on and off for the entire day and just can't seem to get this darn things to work. I hope someone is able to help me. Thanks a lot.
Private Sub Label77_Click()
On Error GoTo Err_AC_Printer_Serial_Click
Dim stDocName As String
stDocName = "Qry1_AC_Printer"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_AC_Printer_Serial_Numbers_Click:
Exit Sub
Err_AC_Printer_Serial_Click:
MsgBox Err.Description
Resume Exit_NB_Printer_Serial_Numbers_Click
End Sub