It will be better to assign the "view" to a variable(string) and then do
the 'if' condition. Something like this.
string =strNotFound
strNotFound=view(row:=3, col:=9, length:=10)
if trim(Lcase(strNotFound)) = "none found" then
step="Next step"
end ifhope this helps Ranjit M Bendapudi Meditech Service Center CSC 5209 Linbar Dr., Nashville, TN 37211 P: +1-615.662-7775 |direct: +1- 615.493.9070 |[email protected] | www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From: [email protected] To: [email protected] Date: 07/15/2010 10:32 AM Subject: [talkbws] Meditech CS 5.64 Rule Puzzle Hi folks, I have tried a couple of varients of this rule without success. The message box is active, and I have verified the text from the view command in the immediate window. But the rule is evaluated as false. I’m sure to have overlooked something simple. Any suggestions? ElseIf Step = "CHECK BATCH MESSAGES" Then If Rule("mess...@*,*&trim(lcase(view(row:=3, col:=9, length:=10))) = 'none found'") Then Step = "NO BATCHES FOUND" Exit Sub End If ElseIf Step = "CHECK BATCH MESSAGES" Then If Rule("mess...@*,*&trim(lcase(view(row:=3, col:=9, length:=10))) = “none found”") Then Step = "NO BATCHES FOUND" Exit Sub End If Thanks, John Taylor Revenue Cycle Analyst, Information Systems | Augusta Health Office: (540) 332-4882 | www.augustahealth.com --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
<<image/gif>>
