Jump to content


Click the link below to see the new game I'm developing!


Photo
- - - - -

Greenscreen - report (LR) and skipping lines


2 replies to this topic

#1 jcjones

jcjones

    Member

  • Members
  • PipPip
  • 18 posts
  • Gender:Male

Posted 24 July 2006 - 09:01 PM

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

#2 Lewis Mccabe

Lewis Mccabe

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Sarasota, Florida

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.


#3 jcjones

jcjones

    Member

  • Members
  • PipPip
  • 18 posts
  • Gender:Male

Posted 25 July 2006 - 01:45 PM

Lewis,

Thank you very much - that was exactly what I was looking for.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Click the link below to see the new game I'm developing!