Question: I am running a script for Meditech date/cost updating. I have a rule defined in my work station that has the following actions:
TestEffectiveDates If (effectiveDateSame) Then Step="UPDATEEXISTINGCOST" Else Step="ADDNEWDATE" End If NOTE: TestEffectiveDate is a VB routine that simply compares these dates and if the same sets the effectiveDateSame flag. If true it sets the Step to "UPDATEEXISTINGCOST" else it sets the Step to "ADDNEWDATE". There is NO GOTO defined!!! But in my VB Editor this is what these actions translated to TestEffectiveDates If (effectiveDateSame) Then Step="UPDATEEXISTINGCOST" Else Step="ADDNEWDATE" End If Step="ADDNEWDATE" Exit Sub Why does the workstation add this code at the end? It overwrites the step I want the script to go to after this test. It always goes to ADDNEWDATE. I don't want it to as I want to dictate what step the script goes to next using the logic described above. Thanks. Mike Michael H Serafin Exeter Hospital Applications Analyst Sr. 603-580-7646 (Office) 603-361-3053 (Cell) --- 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.bostonsoftwaresystems.com/Customers/ListServe.aspx
