All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Brenda,
Try this:
IFE=IF{
IFE=IF{[ANS,"PS"]|0'="P"&([ANS,"PS"]|0'="N") "R"^/VAR;"-"^/VAR}
IFE= /VAR^/[ANS%0,"NURBR"]|0,P(R,S,/VAR)^#,""}
Brian Golden, RN
Southeast Missouri Hospital
Cape Girardeau, MO 63701
(573) 651-5827
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brenda Wiley
Sent: Friday, July 07, 2006 11:49 AM
To: MediTech Users Group
Subject: [MEDITECH-L] Attribute help with IF, THEN, ELSE
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Hi folks,
I've been trying to figure out what's wrong with this
attribute:
IFE=IF{([ANS,"PS"]|0'="P")&([ANS,"PS"]|0'="N"
"R"^/VAR;"-"^/VAR, IFE=/VAR^/[ANS%0,"NURBR"]|0,P(R,S,/VAR)^#,""}
PS is a query w/ a group look up of about 15 items,
two of which are "P" and "N".
If PS is anything EXCEPT "P" or "N", I want "R" to go
into "NURBR". If PS is equal to either "P" or "N", I
want "-" to go into "NURBR". Either way, I do NOT
want the cursor to stop at the query.
The attribute works perfectly when P or N are entered
..... "R" gets put into NURBR and the cursor does not
stop at that query.
However, when the user choses any of the other 15
items for the group look up, the cursor enters the
NURBR field and waits for input. "-" does not get
entered automatically.
Thanks!!
Brenda Wiley, RN
Tranyslvania Community Hospital, Inc.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
meditech-l mailing list
[email protected] http://mtusers.com/mailman/listinfo/meditech-l
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l