If you are using a standard field, use field attribute:

 

[EMAIL PROTECTED]  (that's a zero)

 

If the field is computed use:

 

VAL=VALUE?0N

 

The result will print all characters in the field that contain numbers.
That might not be what you want though.

 

If you want to check to see if the whole thing is a number, you might
want to use something along the lines of:

 

CON=IF{L(@field)=L(@field?0N))}

 

or

 

VAL=IF{L(VALUE)=L(VALUE?0N) VALUE}

 

You should check the Meditech website for operators, specifically the
pattern operators for more information:

http://www.meditech.com/prrw/pages/RWcbASoperators.htm (C/S) or

http://www.meditech.com/prrw/pages/RWmbASperators.htm (MAGIC) (and no,
it's not misspelled. lol)

 

Thank you,

Mitch Lawrence

Lead Applications Analyst - Advanced Report Writer

General Financials Support

CHRISTUS Information Management

': 361.881.3408  7: 361.888.6117

*: 361.549.8456  )AIM: a1d13  )MSN: [EMAIL PROTECTED]

*: [EMAIL PROTECTED]

 

 

Send a "thank you" <http://intranet.christushealth.org/spiritBuck/>  to
someone!

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Laura Wilson
Sent: Friday, July 06, 2007 12:27 PM
To: [email protected]
Subject: [MEDITECH-L] Question for NPR gurus

 

I have a field that I only want to print if the field is numeric.  Is
there a way to write and IF statement for this or accomplish it in
another way?

 

Thanks!

Laura Wilson

Tanner Medical Center

 


------------------------------------------------------------------------
--------------------------------------------
This e-mail and any files or attachments transmitted with it contain
information that is confidential and 
privileged. This information is intended only for the use of the
individual(s) and entit(ies) to whom it is 
addressed.  If you are not the intended recipient, any disclosure,
copying, printing, or use of this 
information is strictly prohibited and possibly a violation of federal
or state law and regulations.
If you have received this information in error, please contact the
sender immediately and destroy 
all copies of this communication.




 

<<image001.jpg>>

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit 
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com

To check the status of the meditech-l, visit MTUsers.NET

For help, email [EMAIL PROTECTED]

Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com

Reply via email to