Results 1 to 3 of 3

Thread: How to get the hourglass icon visible

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    3
    When running a long database query, how do you change the mouse pointer to the hourglass, then back to the pointer when the query is over? Any help would be appreciated...VolFans

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Code:
    Screen.MousePointer = vbHourGlass
    
    'Run query here
    
    Screen.MousePointer = vbDefault

  3. #3
    Guest
    It is always best to use Screen, as Serge showed, because it will have a cursor on every one of your forms. Whereas if you were to just put something like Form1.MousePointer = vbHourGlass, than it would only show the cursor for that form.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width