Can't get hourglass to work

  • Thread starter Thread starter Pat
  • Start date Start date
P

Pat

I am using Access 2003, on a WinXP Pro machine. I have a tabbed form,
on which I've dropped a lable control. I've added code in the OnClick
event to run a function when the label is clicked. Initially, I put the
DoCmd.Hourglass True command at the beginning of the function, but I
never got the hourglass to appear. I also tried adding it in the
OnClick code, before my function call. Still no workee! So, I did a
Google search of the usenet and found a number of suggestions - none of
which worked. I've tried Application.Echo True/False, Me.Repaint, and
Screen.MousePointer. All in either my OnClick or in the function (well,
of course Me.Repaint doesn't work in the function!). I saw someone say
something about only getting it to work if they also popped up a
message box, but I don't really want to do that. Any advice? TIA! - Pat
 
Pat

DoCmd.Hourglass True
DoEvents
' ... All of your Cool Code Here

DoCmd.Hourglass False

Ron W
 
Ron,

Thanks for the suggestion. I tried it both in the OnClick event and in
the function, and neither one resulted in the hourglass being
displayed. Thanks anyway!

Pat
 
I have the same problem, in some cases just can't force that HOURGLASS pointer
to load... Did you ever make it work?
Jerry
 
Back
Top