You are probably using the P command to print the total to the screen to
a particular row and column, and that is happening whether the query
with the total is on the current page or not.

 

If you are magic, and the query is called "NUR.DVTOT" you could confine
the display to the correct screen and spot by adding this code to your
macro.

 

I am assuming you have the value of ANS in your macro.

 

@MIS.QUERY.length["NUR.DVTOT"]^LEN,

DO{+/G.MSE.CDS[R]^R ""^S,

DO{+(/G.MSE.CDS[R,S],DATA)^S IF{DATA|1="NUR.DVTOT"
P(R,S,[ANS,DATA|1]|0:(LEN_"TL")^#}}

 

 

Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Web:  www.iatric.com <http://www.iatric.com>  

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Parrish, Linda
Sent: Tuesday, March 06, 2007 5:27 PM
To: [email protected]
Subject: [MEDITECH-L] Help with a total attribute/macro

 

I need some help with a total attribute.  I built a DVT risk assessment
screen.  I built a macro tath defines all the values on the Y/N type
queries on the screen.  I called this macro on the attributes on each of
the Y/N queries.  The macro and attributes do work.  The total does
appear in the appropriate field on the second page, but it also appears
on the first page.

Does anyone have any idea how to get the total to only appear on the
second page? 
Thanks, 
Linda Parrish RN 
Core Clinical Application Analyst 
Provena Health 
(815)730-2877 
[EMAIL PROTECTED] 

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to