|
Okay,
this worked to end the Do Loop (when it got to HUB.CAM it got out of the
loop and filed the record) - but it still isn't seeing when the If
statement is true.
Do
Stable 2 ' also tried Key "@_CLEAR" here because I have another view statement earlier in the script that deals with any "user inactive" messages If View(Row:=Row(), col:=1, length:=7) = "HUB.CAM" Then 'never seeing this as true Key "{tab}{tab}" Pause "@0,26" Enter "zcus.clinician.menu" Else Key "{DOWN}" Stable End If Loop Until View(Row:=Row(), col:=1, length:=7) = "HUB.CAM" So the
script will Key down through the databases not equal to HUB.CAM correctly.
It
gets to HUB.CAM and incorrectly goes to the Else statement
Keys
down to the next database (i.e. LAB.CAM)
Goes
to the End If statement
Gets
to the Loop Until statement and then remembers that the last line before it
Keyed down to LAB.CAM was HUB.CAM and exits the Do
Loop.
I even
tried Paul's Boolean suggestion below, and it skipped the If statement
too.
Michelle
|
Title: Message
- [Talk] Help: Eval field & key down if not eq... Barker-Lacerda , Michelle
- RE: [Talk] Help: Eval field & key down ... Paul
- RE: [Talk] Help: Eval field & key d... Paul
- RE: [Talk] Help: Eval field & k... Rich McNeil
- RE: [Talk] Help: Eval field & key down ... Barker-Lacerda , Michelle
- RE: [Talk] Help: Eval field & key down ... Lew Hundley
- RE: [Talk] Help: Eval field & key down ... Lew Hundley
- RE: [Talk] Help: Eval field & key down ... Lew Hundley
- RE: [Talk] Help: Eval field & key down ... Mickey Sherbett
- RE: [Talk] Help: Eval field & key d... Rich McNeil
- RE: [Talk] Help: Eval field & key down ... Mickey Sherbett
- RE: [Talk] Help: Eval field & key d... Rich McNeil
- RE: [Talk] Help: Eval field & key down ... Munir . Khamis
- RE: [Talk] Help: Eval field & key down ... Mickey Sherbett
