If you have that section after [""^AMT,] on more than one line, that's your problem. EVERY line in a macro subroutine except the last one needs to end in a comma or semi-colon. Moreover, the comma or semi-colon must be a logical part of the argument. Either break up your IF statement into shorter segments, or use the shift-F6 to get everything onto one line. As long as your line is shorter than 255 characters (I think that's the limit), it should work.
Douglas B. McGaw Newman Regional Health 1201 W. 12th Ave. Emporia, KS 66801 [EMAIL PROTECTED] 620-343-6800 x 1130 fax: 620-340-6799 -----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.amoun t[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
