S
Sandy
Hi all. I am working in A2k and having trouble with hourglass.
I have a form which takes several seconds to load, so I want the mouse
pointer to turn to an hourlgass when the menu item is clicked to open the
form, and then back to regular pointer when the form activates.
From the main menu:
Private Sub Label141_Click()
DoCmd.Hourglass True
DoCmd.OpenForm ("frmLookupSrch")
End Sub
Then in frmLookupSrch:
Private Sub Form_Activate()
DoCmd.Hourglass False
End Sub
Using this code, the mouse pointer never turns to an hourglass. I tried
just the hourglass code alone, and it works fine (turns to hourglass the
instant I click the menu label). I even tried writing it so that it runs
hourglass and then goes to a separate event statement (Label141_Click_A) to
open the form, but still the hourglass will not show.
Please help me before I drop-kick my pc.
TIA, Sandy
I have a form which takes several seconds to load, so I want the mouse
pointer to turn to an hourlgass when the menu item is clicked to open the
form, and then back to regular pointer when the form activates.
From the main menu:
Private Sub Label141_Click()
DoCmd.Hourglass True
DoCmd.OpenForm ("frmLookupSrch")
End Sub
Then in frmLookupSrch:
Private Sub Form_Activate()
DoCmd.Hourglass False
End Sub
Using this code, the mouse pointer never turns to an hourglass. I tried
just the hourglass code alone, and it works fine (turns to hourglass the
instant I click the menu label). I even tried writing it so that it runs
hourglass and then goes to a separate event statement (Label141_Click_A) to
open the form, but still the hourglass will not show.
Please help me before I drop-kick my pc.
TIA, Sandy