Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

heading..

Former Member
0 Likes
488

hi to all,

can anyone tell me, how to write the code for heading in reporting....if i got result in 3 to 4 pages when im scrolling the screen my headings are appearing....

send me the example code...

thanks in advance..

raju.

THIS POST IS CLOSED

Message was edited by: mpr raju

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
472

Can you please mark this post as solved, by clicking the "blue star". This makes it visible from outside the post. Thanks.

Regards,

Rich Heilman

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
472

Put the code in the TOP-OF-PAGE event and set the line-count in the REPORT statement. Then everytime your report reaches the max line for that page, it will go to the next page and write the headings again.

Regards,

RIch Heilman

Read only

0 Likes
472

Here is a sample........



report zrich_0003
       line-count 65
       line-size  132
       no standard page heading.



start-of-selection.

  do 100 times.
    write:/ 'Value1', at 20 'Value2'.
  enddo.


top-of-page.

  write:/ 'Heading1', at 20 'Heading2'.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
472

hi, you can write code in the event TOP-OF-PAGE.

it will appear in the header of your report.

hope it will be helpful

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
473

Can you please mark this post as solved, by clicking the "blue star". This makes it visible from outside the post. Thanks.

Regards,

Rich Heilman