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

How are local variables used in an NPR VAL statement?

Do local variables need to be declared in a header or...?

How do you create a variable that is in scope for the whole report?
Just for a single region?

Are variables shared between regions, macros, and footnotes?


I'm having trouble getting local variables in a VAL statement to work
without causing an error.  Here is a simple example of what I want to
do:

[EMAIL PROTECTED] "it works - "_doc}

When I translate the NPR that this statement is in I get this error:

Evaluating computed field: xx.some.var in region D
*** Can't find data element doc
*** IF{*AA[aa]DR|0^ ***doc***  "it works - "_doc}
*** Can't find data element doc
*** IF{*AA[aa]DR|0^doc "it works - "_ ***doc*** }

I've researched this problem through old and new manuals, the archives
to this list, etc.  Any help understanding NPR variables would be
appreciated.

Thank you,
Doug
 

Douglas S. Graham, JD, BSN, RN
Clinical Systems Analyst
Alaska Regional Hospital
PH: 907-264-2077
FX: 866-368-3229
[EMAIL PROTECTED]
"The information in this electronic message may be privileged and
confidential and is intended for the use of the individual(s) or
entity(ies) named above. If you are not the intended recipient, you are
on notice that any unauthorized disclosure, copying, distribution, or
taking of any action in reliance on the contents of these electronically
transmitted materials is prohibited."


_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to