furrymonster
Programmer
This is the whole code for btnOpenYAF_Click,
yet when the button is clicked the hourglass never appears:
DoCmd.Hourglass True
DoEvents
DoCmd.OpenForm "frmYAF"
DoCmd.Hourglass False
There is also a "DoCmd.Hourglass True" in the Form_Open on frmYAF (where all the time is spent)
It seemed vaguely like a "timing" issue
so I added the "DoEvents" but it does not help.
The hourglass does appear if I am stepping through the code in debug mode.
Any ideas?
Thanks again.
yet when the button is clicked the hourglass never appears:
DoCmd.Hourglass True
DoEvents
DoCmd.OpenForm "frmYAF"
DoCmd.Hourglass False
There is also a "DoCmd.Hourglass True" in the Form_Open on frmYAF (where all the time is spent)
It seemed vaguely like a "timing" issue
so I added the "DoEvents" but it does not help.
The hourglass does appear if I am stepping through the code in debug mode.
Any ideas?
Thanks again.