Greetings,

I'm not seeing a way of getting out of the first loop? I would expect to see
an Exit Do.

Do
       Enter ""

       Wait 0.5
      If At("@8,76") Or At("@8,75") Then
          Wait 0.5
          Key "+{DELETE}"
          Wait 0.5
          Enter gbCarrier

         Exit do 'ADDED to get out of the loop
          End If


    Loop
      Regards,

Thom

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neal Quinn
Sent: Tuesday, August 28, 2007 4:41 PM
To: [email protected]
Subject: Re: [Talk] Easy, but can't figure it out?

 

If the next desired field is 'Additive;, then why do you have the Enter,
Wait at the top of the second loop between the two fields?

 

Neal Quinn

Montefiore Medical Center

----- Original Message ----- 

From: Gary Hall <mailto:[EMAIL PROTECTED]>  

To: [email protected] 

Sent: Tuesday, August 28, 2007 4:16 PM

Subject: [Talk] Easy, but can't figure it out?

 

I have the following two little loops:

 

Do
       Enter ""

       Wait 0.5
      If At("@8,76") Or At("@8,75") Then
          Wait 0.5
          Key "+{DELETE}"
          Wait 0.5
          Enter gbCarrier
          End If
    Loop
        
    Do
        Enter ""

        Wait 0.5
       If At("@10,76") Or At("@10,75") Then
          Wait 0.5
          Key "+{DELETE}"
          Wait 0.5
          Enter gbAdditive
          End If
    Loop

 

 

The first works perfectly well, it blanks out the field and moves in my
gbCarrier field.

 

The second stops at the next desired field (which happens to be Additive?),
just meditating there I guess, because it does not then perform the delete &
the enter gbAdditive. 

 

I know this is probably something remarkably easy? What am I doing wrong? 

 

I put the Wait commands in because, on occasion (this is a Meditech
application) it will zing right by the first field. Seems like if I slow it
down a bit it works OK. 

 

Thanks!

 

Gary Hall

Clinical Applications Specialist

Estes Park Medical Center

Information Systems Department

970-577-4443

 

  

The information contained in this message may be privileged and confidential
and protected from disclosure.  If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.  If you have received this communication in error, please notify
the sender of this communication immediately.

Reply via email to