[MT-L] Magic 5.64 npr

57 views
Skip to first unread message

Renee Rinehart

unread,
Apr 26, 2012, 8:31:48 AM4/26/12
to medit...@mtusers.com

I know there is a way to have an npr report to not “break up” a detail line and leave part of it on one page and the other on a second page.  I’ve looked through the KB articles and unable to locate.  Please help.

 

Renee' Rinehart

HCIS Financial Coord., IT Dept.

Guadalupe Regional Medical Center

1215 East Court Street

Seguin, Texas  78155

830-401-7214

830-481-4347 Cell

 

Joe Cocuzzo

unread,
Apr 26, 2012, 8:52:31 AM4/26/12
to Renee Rinehart, medit...@mtusers.com

You mean, not break up a detail section (set of lines)

 

Two methods:

 

You can put a Line attribute at the first line of the detail section PG=N where N is an integer (not a variable) and the report writer will start a new page if fewer than N lines are remaining on the current page.

 

If you have to compute the number of lines you need, you could compute them in a detail macro and do this:

 

ECB=IF{/.LL<NEEDED %[/R.NEW.PAGE.PGM](0)},

 

I am assuming you compute the number of lines needed in AL D macro and put in variable NEEDED

 

You can do the same thing in C/S, except you call the new page program like this:

 

ECB=IF{/R.LL<NEEDED [/R.NEW.PAGE.PGM](0)},

 

Note that lines left in C/S is in /R.LL not /.LL

 

 


Joe Cocuzzo
Vice President
NPR Services

Iatric Systems, Inc.
Phone/Fax:
(978) 805-4115
Email: Joe.C...@iatric.com
Web: www.iatric.com


Iatric Systems is a leading provider of integrated software applications, interfaces and reporting solutions for hospitals and healthcare systems.

CLMA/HCCA

 

__________

Purvins, James A.

unread,
Apr 26, 2012, 11:01:28 AM4/26/12
to Renee Rinehart, medit...@mtusers.com
You need to add a Line Check NL=NO

You also need to include a record length in your footnotes RL 400 or something longer than 200 characters.
 
Jim Purvins


From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Renee Rinehart
Sent: Thursday, April 26, 2012 5:32 AM

To: medit...@MTUsers.com
Subject: [MT-L] Magic 5.64 npr

irma diaz - IT

unread,
Apr 26, 2012, 3:29:40 PM4/26/12
to Renee Rinehart, medit...@mtusers.com

Hi I found the following articles to be useful.  I am  Client Server, but they can get you going in the right direction.

They are located in on Meditech’s website under MT Magazine Report Articles, within the NPR  Report Writer/Designer website.

 

 

Controlling Page Breaks When Using Multiples  (September 2010)

Allow User to Select a Page Break (Y/N)  (October 2005)

 

Thank You,

Irma Diaz

Information Technology Services

831-636-2672 ext. 2364

 

From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Renee Rinehart
Sent: Thursday, April 26, 2012 5:32 AM
To: medit...@MTUsers.com
Subject: [MT-L] Magic 5.64 npr

 

I know there is a way to have an npr report to not “break up” a detail line and leave part of it on one page and the other on a second page.  I’ve looked through the KB articles and unable to locate.  Please help.

Confidentiality Notice: This e-mail message and all attachments 
may contain confidential information belonging to the sender or 
the intended recipient.

This information is intended ONLY for the use of the individual 
or entity named above. If you are not the intended recipient, you 
are hereby notified that any disclosure, copying, 
distribution(electronic or otherwise),forwarding or taking any 
action in reliance on the contents of this information is 
strictly prohibited.
 
If you have received this electronic transmission in error, 
please immediately notify the sender by phone, fax or email to 
arrange for the return of the attachments or documents.

Reply all
Reply to author
Forward
0 new messages