Couldn't you just add a trailer to the primary sort and use it instead of adding a computed sort?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Cocuzzo Sent: Monday, July 02, 2007 9:17 PM To: Randy Suinn; [email protected] Subject: Re: [MEDITECH-L] NPR-fragments question Add a fake computed sort to your NUR fragment xx.fake.sort DAT=INT LEN=1 VAL=1 Make this the primary sort of the fragment, give the sort a TK region (TK1) and put your totals in that region. It will work just like a TR because every record will be in the first (and only) sort group, and it will work in a fragment. Joe Cocuzzo Vice President NPR Services Iatric Systems, Inc. Phone/Fax: (978) 805-4115 Email: [EMAIL PROTECTED] Web: www.iatric.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Randy Suinn Sent: Monday, July 02, 2007 7:23 PM To: [email protected] Subject: [MEDITECH-L] NPR-fragments question hi all, I've written a fragment that takes a list of patient urns as one of it's selects. The fragment then goes through NUR.PC.WORK and does some totalling then displays those totals in it's TR region. When I call the fragment (from ADM) it runs fine, does the totalling, but the TR region doesn't print. I read that the TR region won't print when called as a fragment :-( Is there a way around this w/o having the calling rpt handle the printing of the totals? btw, eventually I'll have many different calling reports calling this one fragment. TIAA everyone and happy 4th! randy -- Randy Suinn Database Analyst/Programmer Meditech Magic Systems Information Services Poudre Valley Health System ~~~ So much information... the more I learn, the more questions develop. ~~~ If I keep learning at this pace, soon I'll be too dumb to continue! CONFIDENTIALITY NOTICE: The information contained in this e-mail is privileged and confidential, and is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are notified that any disclosure, copying, distribution, electronic storage or use of this communication is prohibited. If you received this communication in error, please notify us immediately by e-mail, attaching the original message, and delete the original message from your computer and any network to which your computer is connected. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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 =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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 -- This message has been scanned by the Securiant SpiderISA for spam and viruses, and is believed to be safe and clean. -- This message has been scanned by the Securiant SpiderISA for spam and viruses, and is believed to be safe and clean. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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
