160 likes | 242 Views
Learn about the latest changes in NPR 5.4, including improved sorting, email automation, and data structure modifications, aiding in smoother reporting processes. Utilize new features like multiple report runs, search enhancements, and BAR code integration.
E N D
Magic NPR Muse 2004 Regional Peer Group Herb Bromenshenkel RPh
NPR Changes – 5.4 • 12 Sort fields (previous limit 9) • Edit field names do not auto change to original • “Warning: no space to right of field” gone • Audit trail stored for last 10 runs (even if edited) • More Keywords when translating (MAIL, VIEW, SPOOL
NPR Changes – 5.4 • User now warned if deleting a report that is on a menu • Search Report (#58) expanded for sort fields and selects • BAR Codes in 128 format
Demos / tricks • Auto email report (only if results) • Run multiple reports from one report • If reports are small, can fit on one page instead of a page for each report • HTML NPR resource
5.4 Module Info • Payroll • Data structure changes? • Pharmacy • Height weight fields changed
Auto Email • Covered last year • Array is created and sent • Problem developed: As I used this feature more, I started getting more blank emails • No records found, but email still sent
Auto Email • Example can be downloaded at: www.bromenshenkel.net • Uses 3 macros • Key if send is on the final macro • IF{/R.FOUND rest of code
Auto email • Foot notes: • In Beginning, detail and close
Auto email • Start Marco • Starts array • Often used for subject of email message
Auto email • Detail Area • Array is built • Counter advances
Auto email • CLOSE.UP • Sends email • Uses MIS Program
Print Multiple Reports • AL CLOSE.UP macro starts other reports • Prompts are hard coded • Example: start.date EQ (%Z.date.add(@.today-1))
Multiple Reports in one • Frags use TK1 to print report title • Page headers/trailers do not work
Using HTML for NPR notes • # 1 problem – Use NPR enough to fuddle through most things, not enough to quickly remember specific details. • Personal and specific notes speed up process • Key to notes – find data • Generate on page HTML document and use Edit – Find to find text. • http://www.bromenshenkel.net