You can't do trim, case or other manipulation or the view command within a condition. If you look at the code below you can see that it's treating all of that as a string. You're condition should look for the specific word at the location. not fo...@3,9
From: [email protected] [mailto:[email protected]] Sent: Thursday, July 15, 2010 11:31 AM To: Talk 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 <http://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
<<image001.gif>>
