ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Report Endings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Report Endings

    I always put a ** End of Report ** at the end of my reports and sometimes a counter and in fixed-form it was easy, just condition it to run a t LR. However, in free-form, this methodology doesn't seem to work. How would this be done in free-form?

    Regards,
    Michael
    Everyday's a school day, what grade are you in?

  • #2
    Since you are no longer work with LR, i assume you are also not using a cyclic main procedure.
    In any procedure you can add the ON-EXIT OpCode at the end of your procedure. Everything that is coded after this will be done when the function is left.
    So you may add the *** End of Report*** writing to the end of your (main) printing routine

    Comment

    Working...
    X