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

That should be an easy one...  If you tell the report to not print the
detail line, you should get only the trailer region for the report, with
the totals therein.  If it's necessary to do some calculating in the D
region, you can still tell it not to print by putting a "" at the end of
the line check on the D line, like this:
LC=1+CT^CT,""

Douglas B. McGaw
Hospital Info Svcs Coordinator
Newman Regional Health
1201 W. 12th Ave.
Emporia, KS  66801
=============================================
 
Voice:  620-343-6800 x 1130
Fax:  620-340-6133
Email: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lovelace, Chuck
Sent: Thursday, April 13, 2006 12:18 PM
To: Meditech-L
Subject: [MEDITECH-L] TOTALING AN NPR REPORT

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



I am trying to write an NPR report to pull the results of a specific
query,
I want to just list the totals of how many yes, no and blank, and how
many
patients the report looked at.

I am writing the report in ADM.PAT.

I'm getting totals but its printing a line for each patient.

All I want is one page with all the totals.   Here are my selects and
sorts:

     Sort Field                                 Order  Header  Trail
 1  facility                                       ASC    NONE      N
 2  date                                          ASC    NONE      N
 3  urn                                            ASC    NONE      N
 4  status.type                               ASC    NONE      N
 5  xx.adv.dir                                 ASC    NONE      Y

    Select Field/Prompt or Value              
 1  status                                     LI
         Status:
 2  date                                       GE
         FROM DATE:
 3  date                                       LE
         THRU DATE:
 4  xx.adv.dir                               EQ
         ""

Has anyone written anything like this???
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

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

Reply via email to