Kbase 16602: Results - How can I base my reports on a subtotal ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Results - How can I base my reports on a subtotal ?
How can I get my RESULTS report to display based on the subtotal?
----------------------------------------------------------------
After creating a report a user may decide to print the report based
on the total.
Results does not allow you to do this as the only fields available
for you to select from are the ones in your table.
In order to accomplish this you have to write some 4GL code.
The best way to do that in Progress would be to:
1. run the report and output to disk
2. check qty total after report has run, i.e. (ACCUM TOTAL qty > 100)
3. if false then leave
4. if true then open a stream to the printer
5. read in the report on disk and put each line to the output stream
Progress Software Technical Support Note # 16602