View previous topic :: View next topic |
Author |
Message |
nikunja Beginner
Joined: 30 Jun 2004 Posts: 3 Topics: 1
|
Posted: Tue Jan 04, 2005 4:46 am Post subject: Suppressing title in an easytrieve report |
|
|
I have a easytrieve report, which print report title in each new page. I want to suppress it and the want it to be printed only on break based on some field.
eg...
existing report
Country Country-manager
US
abc
cde
.....pagebreak
Country Country-manager
US
efd
def
I want it to be as below:
Country Country-manager
US
abc
cde
.....pagebreak
efd
def
Thanks,
Nikunja |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Jan 04, 2005 8:19 am Post subject: |
|
|
Nikunja,
Code the following on your report and you will have the header on the break of the field
Code: |
CONTROL your-break-filed NEWPAGE
|
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
nikunja Beginner
Joined: 30 Jun 2004 Posts: 3 Topics: 1
|
Posted: Wed Jan 05, 2005 1:34 am Post subject: |
|
|
Thanks Kolusu.
I think I didnot make my query clear...
I donot want the tile(report header) appearing on each new page. It should appear only when there is a break on the field.
In my example
Country Country-manager
US
was the report header. Say for US, I have a large number of records. I donot want the report header to appear on each page of the Country US.
My current code is as suggested by you. I know, I can code it manually. I want to know if there is any easytrieve command to suppress the report heading appearing on each page.
Thanks,
Nikunja |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Jan 05, 2005 6:28 am Post subject: |
|
|
nikunja,
Quote: |
It should appear only when there is a break on the field.
|
Did you try running the suggested code? It will indeed put a header only when there is a break on the field.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
nikunja Beginner
Joined: 30 Jun 2004 Posts: 3 Topics: 1
|
Posted: Thu Jan 06, 2005 6:26 am Post subject: |
|
|
Hi Kolusu,
You are right. It will work if there is no 'TITLE' in the report section. I am having the title.
Thanks a lot.
I hve implemented it by removing the 'TITLE' and adding 'NOHEADING' parameter in the REPORT section. I am handling the report title in the program.
With warm regards,
Nikunja |
|
Back to top |
|
|
|
|