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

Hi Warren,

Z.link connects a prefix to a database, but it does NOT make all of the 
programs accessible to you.  Here is an alternative method:

@acct.number^BAR.PAT.number, 
IF{%Z.switch.appl("BAR","","","BAR.WTN");
   @First(BAR.PAT.account,BAR.PAT.number.x)^BAR.PAT.account, 
   @BAR.PAT.balance^BAL, 
   @BAR.PAT.chg.total^TOTAL, 
   @BAR.PAT.bar.status^STATUS, 
   @BAR.PAT.status.date^STADATE, 
   %Z.switch.appl("")}

Z.switch.appl is a program that connects ALL of the necessary prefixes to an 
application for you, and then switches them all back when it is called again 
with no arguments.  That is why I have removed the @Chg.prefix macros from the 
code.

We review code like this and provide more examples during our NPR Report Writer 
trainings.  Please let me know if you have any questions.

Thanks,

Brian Schmit
Sr. Programmer, Picis
Direct: 781 557 3315
Fax: 781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com

Please visit www.picis.com/meditech for additional information about our NPR 
Report Writing Trainings.

The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee. Access or use by any other person to this 
internet email is not authorized and may be unlawful. If you are not the 
intended recipient, please delete or destroy this email. If you do not wish to 
receive future emails from the sender, please reply directly to this email 
requesting you be removed from any mailing list.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Warren Matiko
Sent: Wednesday, July 05, 2006 4:09 PM
To: [email protected]
Subject: [MEDITECH-L] Pulling BAR.status.date


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


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

Reply via email to