MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Suppressing title in an easytrieve report

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
nikunja
Beginner


Joined: 30 Jun 2004
Posts: 3
Topics: 1

PostPosted: Tue Jan 04, 2005 4:46 am    Post subject: Suppressing title in an easytrieve report Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Jan 04, 2005 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
nikunja
Beginner


Joined: 30 Jun 2004
Posts: 3
Topics: 1

PostPosted: Wed Jan 05, 2005 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jan 05, 2005 6:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
nikunja
Beginner


Joined: 30 Jun 2004
Posts: 3
Topics: 1

PostPosted: Thu Jan 06, 2005 6:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group