Kbase P12440: How to create a report with a form header
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  23/01/2003 |
|
Status: Unverified
GOAL:
How to create a report with a form header
GOAL:
How to set a field or variable position in a frame
FACT(s) (Environment):
Progress 6.x
FACT(s) (Environment):
Progress 7.x
FACT(s) (Environment):
Progress 8.x
FACT(s) (Environment):
Progress 9.x
FIX:
Information about frames and forms can be found in the chapter 25 in the "Programming Handbook" manual.
The following is an example of how to create a report with headers.
output to test.txt page-size 20.
def var rel-page as int.
for each state break by state with frame a-frame:
form header "Customers in" at 1
state.state-name "Page" at 25
page-number format ">9" at 32
with page-top frame pg-top-1.
view frame pg-top-1.
for each customer where customer.state = state.state with
frame detail-1:
display customer.cust-num customer.name customer.state.
down.
end.
rel-page = page-number.
page.
end.
output to terminal page-size 20.