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

Hi Katie,

It sounds like you are using this attribute to default the value of one
query (MYQUERY) to a "target query".  If you have placed this attribute
on a query whose mnemonic is "TARGET QUERY", you need to be sure to
assign the value of "MYQUERY" to the temp variable structure of "TARGET
QUERY".  If you are not doing this, the value will display in the
"TARGET QUERY" response on the screen, but that value does not get saved
when the screen is filed.  This may be the reason the value is not
included in the total... although it all depends on the funtionality of
your totalling macro/attribute.

If pulling the value of MYQUERY and defaulting it into TARGETQUERY, use
this attribute on TARGETQUERY:
 
IFE=IF{[ANS,"MYQUERY"]|0^/VAR,
IFE=/VAR^/[ANS%0,"TARGETQUERY"]|0,P(R,S,/VAR)^#,""}

(If you want the cursor to stop, you would replace the "" at the end
with 1.)

Kenny Whiteside


 
 

Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]



>>> "Carla Fuller" <[EMAIL PROTECTED]> 09/27/2006 9:23 AM >>>
All messages should be posted in plain text.  HTML will be converted
to
attachments.    The meditech-l web site is MTUsers.com
======================================

Good morning everyone,
I am trying to prepare for our move to 5.5 SR2 and I am having
difficulty with converting from the /S.LAST.QUERY attribute. This is
what I have:
 
IFE=IF{[ANS,"MYQUERY"]|0^/VAR,

IFE=/VAR^/[ANS%0,"MYQUERY"]|0,P(R,S,/VAR)^#,""}

 
By using this attribute I am successful in defaulting the value (for
MYQUERY) to my target query. My problem is this, I need to add this
value to my grand total. This attribute causes my cursor to skip the
query, thus leaving it out of the totaling macro. The other option
that
I can think of is this:
 
IFE=IF{[ANS,"NUROTTBT"]|0^/VAR,

IFE=/VAR^/[ANS%0,"NUROTTBT"]|0,P(R,S,/VAR)^#,1}
 
With this attribute, my cursor will stop at the query (which would
allow
the value to be totaled),  but the value will not default. Can someone
with a better understanding and better attribute skills help me find a
solution? 
 
Thank you in advance!
 
 
Katie Wood
Applications Specialist
War Memorial Hospital
500 Osborn Blvd
Sault Ste. Marie, MI  49783
(906) 635-4663
[EMAIL PROTECTED] 
 
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to