Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wait For Cursor To Stop Hour Glassing Before Continuing

Status
Not open for further replies.

Dandas

MIS
Jul 18, 2002
47
AU
I am trying to get my code to log into SAP just by copying and pasting the user name and password and then get it to run a SAP report. While the SAP report is running the cursor hour glasses and I need to use the values from the SAP report which are available when the cursor stops hour glassing.

Does anyone know what the command is to get my code to wait until the cursor stops hour glassing before continuing?

Thanks
Dandas
 
Dandas,

without knowing the specifics of your code, you could try something like

Code:
' SAP login code

Do While SomeSAPValue = 0
  DoEvents
Loop

' Remaining code

This will depend on the loop being able to test for a change in variable value tied to the SAP report; I assumed an initial value of zero.


Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top