All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
Thanks to Bill, Sandra, Rita, Cheri, Jason, and everyone else who responded to my plea for the system variable containing the current page number. I have it incorporated in my report and all is well with the world (the Meditech NPR world that is). Thanks, and Happy weekend to All, Donald -----Original Message----- From: Bill Mullins [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 11:09 AM To: Stewart, Donald Subject: RE: [MEDITECH-L] NPR help needed Donald: @page.number Or @Z.rpt.page.num Or /R.PAGE.NUM ----------------------------------------------------------------- Try these: It lists the present page number and lets you know there is another. On pages with a following page it prints> Page: 9 (See page 10) or whatever message you would like to print and On the last page it prints> Page: 12 (FINAL PAGE) or whatever your message. Could be fun... print (Don't look any Further there are no more pages Dummy - that's why there is no more paper!) or something like that. Edit Field Attributes: xx.page.number DAT=FREE FONT=b JFY=C LEN=21 [EMAIL PROTECTED],'/TRL "Page: "_PAGE_" (See Page "_(PAGE+1)_")."; ------------------------------------------------------------------------ ---- On the Page Trailer fragment, create the following computed field. EDIT FIELD ATTRIBUTES: xx.page.number DAT=FREE LEN=21 [EMAIL PROTECTED],'/TRL "Page: "_PAGE_" (See Page "_(PAGE+1)_")."; VAL="Page: "_PAGE_" (FINAL PAGE)."} Create a MAR Header fragment. In the footnote section enter: AL START ""^/TRL Create a MAR Trailer fragment. In the footnote section enter: AL START 1^/TRL Attach all of these in the MAR FORMAT dictionary. The field xx.page.number will print the page number followed by (See Page n) if this is NOT the last page of the MAR; if it IS the last page of the MAR, then the page number followed by (FINAL PAGE) will appear. -------------------------------------------------------------------- This is one we use on custom nursing profile headers: DAT=FREE JFY=R LEN=10 VAL="Page: "[EMAIL PROTECTED]" of "[EMAIL PROTECTED]/format] --------------------------------------------------------------------- I use this on some reports, it just likes the page number, I will look for the correct syntax for what you want page 1 of 3 . This computed field goes in the Header region. DAT=FREE FONT=b JFY=L LEN=2 SIZE=1.25 VAL=/R.PAGE.NUM+1 Another method for page numbering (Header Page can also use in TR region): DAT=FREE JFY=R LEN=60 [EMAIL PROTECTED](L(NPP)-3) Page xx of (TR Region) DAT=FREE JFY=L LEN=3 VAL=/R.PAGE.NUM.PRINT Edit Field Attributes: xx.page.no DAT=PINT JFY=L LEN=2 VAL=/R.PAGE.NUM.PRINT+1 ------------------------------------------------------------- Good Luck, Bill Mullins RN Williamson Medical Center 2021 Carothers Road Franklin,Tn 37067 615-435-5630 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stewart, Donald Sent: Thursday, July 20, 2006 3:20 PM To: [email protected] Subject: [MEDITECH-L] NPR help needed All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== Hi All, Does anyone know what the NPR system variable is that contains the current page number? Thanks, Donald F. Stewart Sr. Programmer Analyst Upson Regional Medical Center 801 W. Gordon St. Thomaston, GA 30286 (706)647-8111 x1696 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> This communication is from UPSON REGIONAL MEDICAL CENTER and is intended to be confidential and solely for the use of the persons or entities addressed above. If you are not an intended recipient, be aware that the information contained herein may be protected from unauthorized use by privilege or law, and any copying, distribution, disclosure, or other use of this information is prohibited. If you have received this communication in error, please contact the sender by return e-mail or telephone (706)647-8111 x1696 immediately, and delete or destroy all copies. Thank you for your cooperation -- This message has been scanned by the Securiant SpiderISA for spam and viruses, and is believed to be safe and clean. _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This footnote also confirms that this email message has been swept by Sophos and MIMEsweeper for the presence of computer viruses. ********************************************************************** -- 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. _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
