Hi,
I have a report function which is very simple, it just reads a temporary file created by an LU, sorts and breaks the output (Control Break). It does look up other information from other files, but this primary file is the file that all of my Control Breaks and logic are executed on. However, there are several records in this file that I need to process completely for summary purposes, but I don't want them to print on the report. Is there a way in the logic that I can skip printing individual records, but still process them. I have tried using a conditional DSEL in the before read of the last file that of the LR, but this skips anything remaining in the primary file until the next Control Break is encountered. I've tried looking in all the manuals that I can find any reference to printing in, but cannot find how to simply not print a single record.
Any help would be greatly appreciated.
Thanks
JC

Greenscreen - report (LR) and skipping lines
Started by jcjones, Jul 24 2006 09:01 PM
2 replies to this topic
#2
Posted 25 July 2006 - 04:35 AM
Start and end your logical report with dummy fields. In reports, all files are read before printing begins (within a cycle/LR). You can therefore check any values necessary in logic after of your 1st dummy field and skip to the end dummy field of the report if you need to skip printing of that record.
Edited by Lewis Mccabe, 25 July 2006 - 04:40 AM.
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users