Can't get hourglass to work

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
 
R

Ron Weiner

Pat

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

DoCmd.Hourglass False

Ron W
 
P

Pat

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
 
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top