Magic - Line Check Range (LCR)
Say you have 2 DETAIL lines on your NPR Report. You only want these lines to print when the patient is younger than 18. Using a LCR keeps you from having to code a separate line check for each line.
LCR=IF{@patient's.age>17 "";1}
DETAIL This detail 1 will not print when the patient is older than 17.
DETAIL This detail 2 will not print when the patient is older than 17.
DETAIL This detail 3 will not print when the patient is older than 17.
DETAIL This detail 4 will not print when the patient is older than 17.
LCR=END
Thank you Denise Morrill at Perot Systems for showing me this one.

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home