Title: Message
I'm not so sure that is the right fix lou, it may be just a coincidence it works but I would not rely on it.
example:
PauseLoop "Discharge [EMAIL PROTECTED],37", "~"
 
this will be true the entire time you are on the screen, pauseloop won't find the same thing twice in a row so that helped it work but I don't think it is reliable
more reliable would be something like this:
If At("Discharge Time") Then
    if Col < 40 then
        do whatever
    else
        at ""
    endif
endif
 
Thanks,
Corinna Robertson
 
Boston Software Systems
The Essential Tool for Healthcare Integration
866-653-5105 ext. 8
508-653-5105
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lew Hundley
Sent: Wednesday, August 20, 2003 12:36 PM
To: [EMAIL PROTECTED]
Subject: [Talk] FW: PauseLoop issue RESOLVED

Geez, I don’t know why, but 90% of the time it seems that just after writing up an issue, I am able to come up with a fix.  

 

I just had not specified the other strings’ row/col. As soon as I did that, all worked fine.

 

I hope some good comes of this. Maybe someone, when working on a multiple column runs into a problem, this will come to mind. The new Do Loop follows:

 

 

     Do

            'Stable 1

            Wait 0.4

            PauseLoop "Discharge [EMAIL PROTECTED],37", "~"

            'Stable 1

            Wait 0.4

            PauseLoop "Discharge [EMAIL PROTECTED],37", "~"

            'Stable 1

            Wait 0.4

            PauseLoop "Alt Desc [EMAIL PROTECTED],1", "~"

            Wait 0.4

            PauseLoop "Arrival [EMAIL PROTECTED],1", "~"

            Wait 0.4

            PauseLoop "Admit [EMAIL PROTECTED],1", "~"

            Wait 0.4

            'Stable 1

            PauseLoop "Admit [EMAIL PROTECTED],1", "~"

            Wait 0.04

            'Stable 1

            PauseLoop "Admit [EMAIL PROTECTED],1", "~"

            DoEvents

            Wait 0.2

        Loop Until At("Discharge [EMAIL PROTECTED],37") 'And (At("@9,55") Or At("@9,58"))

 

TKs

Lew Hundley
Information Specialist - Programmer
Silverton Hospital
Silverton
Oregon
503.873.1657
[EMAIL PROTECTED]

-----Original Message-----
From:
Lew Hundley [mailto:[EMAIL PROTECTED]]
Sent
:
Wednesday, August 20, 2003 9:28 AM
To:
BostonWorkStation Talk ([EMAIL PROTECTED])
Subject: PauseLoop issue

 

Well, I call it the pauseloop issue, but I am not sure.

See the attached doc.

 

My issue is that I have a two column screen, and I have had various issues while trying to run this.

 

The original issue was that I couldn’t get the cursor to stop on Discharge Disp. I figured that out. It was because strings in the second column were being statisfied by strings in the first column (I would want to PauseLoop on Discharge Date, but in my Do Loop Admit Date was also being satisfied, so an enter would be keyed, and I would end up 2 or 3 fields beyond Discharge Disp).

 

I have ended up trying to be specific about Discharge Date, by adding cursor positions, but that is not working right now.

 

Any suggestions?

 

TKs

Lew Hundley
Information Specialist - Programmer
Silverton Hospital
Silverton
Oregon
503.873.1657
[EMAIL PROTECTED]

 

Reply via email to