I have a web script that also has several pages to complete for one patient, then I go back to the beginning and start over again with the next patient. To make sure that I am on the right page before I restart the loop, I use the following code.

Do
'Insert various error traps here. 'ie if it went to the wrong page add a Go_ statement to get it back to the right page etc.
Wait 1 'Might want to add a wait or a "Sleep" to keep the processing cycles down
DoEvents 'A DoEvents is always appropriate in a possible infinite loop to help
'you regain control and stop processing
First 'Make sure you have a First statement so that it starts looking
'for the text from the top of the page.
Loop until Find("Text from first page")



Overton, Kenneth wrote:

-----Original Message-----
From: Overton, Kenneth Sent: Thursday, March 24, 2005 11:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: subscribe message


I a working a stWeb scripting application. I am able to populate a medical claim application web page (web page after
web page). However, I can not seem to loop back to the first web page to
process another set of claim data. When I click on the "Finish" with that
claim web page box, my script loop back and starts processing (without
displaying web page after web page as it processes the subsequent claim.
Help


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 11:10 AM
To: Overton, Kenneth
Subject: subscribe message


Welcome to the Boston WorkStation User Group. Use this forum for sharing
information about BWS, learn how others are using it and ask any questions.
Send your emails to [EMAIL PROTECTED]






-- Neil Carman Director Technical Development Manigault & Associates LLC

http://www.m-allc.com
Work: (805) 680-5601
Fax:  (714) 968-5632



Reply via email to