I'm not sure what it is you're trying to do, but it looks like you are comparing a date, then if true you want to assign one of the WHOLD amounts to AMT.
Macro statements aren't like VAL/LC statements. You can't span multiple lines with them. A better way to write your statement is: [EMAIL PROTECTED]'<(b.pay.date$4_0101)'>(e.pay.date$4_1231) @ASSIGN.WHOLD}^AMT ASSIGN.WHOLD [EMAIL PROTECTED]; @whold.amount[02]; @whold.amount[05]; @whold.amount[06]; @whold.amount[07]} And you don't need to nil out AMT, as it always gets a value (nil if the statement evaluates as false). 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" to someone! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wasielewski, Laura Sent: Friday, April 06, 2007 12:59 PM To: '[EMAIL PROTECTED]' Subject: [MEDITECH-L] simle question on NPR Macro 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) (@whold.amount[01])!(@whold.amount[02])!(@whold.amount[05])!(whold.amount[06 ])! (whold.amount[07])}^AMT 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
