J
jdj
Hi,
I have a function that takes a while to run so I would
like to change the mousepointer to the hourglass and then
back again. However with the code I am currently using
the mousepointer does not change. Here is the code.
On Error GoTo ErrorHandler
Screen.MousePointer = 11
DoCmd.OpenForm "frmEmployeePerformance", acNormal
DoEvents
Forms!frmEmployeePerformance.LoadEmployees
(lbxHours.SelectedItem.Text)
Screen.MousePointer = 0
Exit Sub
ErrorHandler:
MsgBox Error$
Thanks for the help.
Jason
I have a function that takes a while to run so I would
like to change the mousepointer to the hourglass and then
back again. However with the code I am currently using
the mousepointer does not change. Here is the code.
On Error GoTo ErrorHandler
Screen.MousePointer = 11
DoCmd.OpenForm "frmEmployeePerformance", acNormal
DoEvents
Forms!frmEmployeePerformance.LoadEmployees
(lbxHours.SelectedItem.Text)
Screen.MousePointer = 0
Exit Sub
ErrorHandler:
MsgBox Error$
Thanks for the help.
Jason