Hi Laura, NPR Macros are different from MIS Attributes in that each line is literally one line of code, subject to the 255 character limit, and can not be continued on the next visible line. Each line must end with a completed expression which ends in a comma (or semi-colon if within a control structure like an IF statement).
Also, unlike a macro used within an NPR report, macros called from an attribute are treated as a program and MUST end with a semi-colon. Hope this helps, Kenny Whiteside >>> "Wasielewski, Laura" <[EMAIL PROTECTED]> 04/06/07 1:58 PM >>> Happy Easter everyone.. I have the following macro in an NPR report, it keeps saying invalid termination due to the fact I don't know what punctuation to use to continue down to the next line. Can someone tell me the correct punctuation that goes after the (whold.amount[06])! ""^AMT, [EMAIL PROTECTED]'<(b.pay.date$4_0101)'>(e.pay.date$4_1231)<~!B*+R^&>(@whold.amount[01])!(@whold.amount[02])!(@whold.amount[05])!(whold.amount[06<~!B*+R^&>])!<~!B*+R^&>(whold.amount[07])}^AMT<~!B*+R^&><~!B*+R^&><~!B*+R^&>Thank You Laura Wasielewski St Josephs Hospital Elmira, NY [EMAIL PROTECTED] Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list [EMAIL PROTECTED] http://mtusers.com/mailman/listinfo/meditech-l =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list [EMAIL PROTECTED] http://mtusers.com/mailman/listinfo/meditech-l
