Kbase P74491: How to print "Page of page" in a 4GL report
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/27/2004 |
|
Status: Unverified
GOAL:
How to print "Page of page" in a 4GL report
GOAL:
How to know the number of pages in a report printing from 4GL
FIX:
If you want to print "Page of page" example: page 4 of 21 from 4GL there are two possibilities.
1. Process the report twice. The first time is to count the pages. The problem doing this is that the number of pages can change in the meantime.
2. Do a FOR EACH...DISPLAY to a temp table and count the number of pages.
Process the report from the temp table.