All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================




Hi folks,

Well, w/ a fresh Monday morning mind, I tried entering
this:
 
IFE=IF{IF{(([ANS,"PS"]|0'="P")&([ANS,"PS"]|0'="N"))
"R";"-"}^/VAR,
IFE=/VAR^/[ANS%0,"NURBR"]|0,P(R,S,/VAR)^#,""}
 
and it worked perfectly.  Note the 2 IF statements.  

(Also, note that this is really only 2 lines in my
CDS's attribute screen.  The plain text editor is
breaking the line artifically at the space after "N"))

 
Brenda
 
> 
> --- Brenda Wiley <[EMAIL PROTECTED]> wrote:
> 
> > 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

Reply via email to