View previous topic :: View next topic |
Author |
Message |
vinothini Beginner
Joined: 11 May 2005 Posts: 5 Topics: 1
|
Posted: Wed May 11, 2005 11:14 pm Post subject: Page breaks in eazytrieve |
|
|
Hi,
can you please tell me how to insert manual page breaks in an easytrieve program.
Thanks,
Vinothini,
Inautix technologies,
chennai. |
|
Back to top |
|
 |
vinothini Beginner
Joined: 11 May 2005 Posts: 5 Topics: 1
|
Posted: Thu May 12, 2005 4:10 am Post subject: |
|
|
I have many participants for an account..so the break should not be in between accounts.after writing a complete account need to break for new page.
Thanks,
Vinothini. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Thu May 12, 2005 5:55 am Post subject: |
|
|
Vinothini,
Specify the ACCOUNT as CONTROL field in your report definition and it will auotmatically print with a break when ever the account changes.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
vinothini Beginner
Joined: 11 May 2005 Posts: 5 Topics: 1
|
Posted: Thu May 12, 2005 7:39 am Post subject: Easytrieve page break |
|
|
Hi,
I had mentioned in the control depending on account number.But still it breaks in between accounts.
CONTROL FINAL NOPRINT WS-ACCT NOPRINT
An account has 5 participants.and during the start of second page 2 of the participants are listed in first page, remaining 3 in second page.
Is there any possibilty to put those in array and and for manual page breaks.
Thanks,
Vinothini. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Thu May 12, 2005 7:55 am Post subject: |
|
|
vinothini,
The default no: of lines per page in easytrieve reports is 58 lines. Once you cross that you will have a page break and the report will be printed on the next page. However you can override that default no: of lines using PAGESIZE parameter of the REPORT statement.
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
vinothini Beginner
Joined: 11 May 2005 Posts: 5 Topics: 1
|
Posted: Fri May 13, 2005 1:15 am Post subject: |
|
|
Kolusu,
If i use this pagesize 63 it works fine for some pages.But since the number participants vary for each account still problem of page break.Is there any possiblity to write using array declaration?.
Thanks,
Vinothini. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Fri May 13, 2005 6:03 am Post subject: |
|
|
vinothini,
try this
Code: |
CONTROL FINAL NOPRINT WS-ACCT NOPRINT newpage
|
So everytime an account number changes it will be printed on a newpage
Ps: Please do not waste your time with array building. In easytrieve the report is built at the end of the job.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
vinothini Beginner
Joined: 11 May 2005 Posts: 5 Topics: 1
|
Posted: Fri May 13, 2005 7:24 am Post subject: |
|
|
Kolusu,
It prints the heading and page number for each account.But i dont want to print for each account.I need to print after say some 55 lines or more.
since we dont know the exact number of participants for each account how shall we check if all the details of that particular account have been written and then do a page break.
for eaxmple:report
The current report looks like this.
Code: |
abcd 123 345 cod py us
sy us
DATE REPORT GENERATION PAGE:2
acct# ibd# ofc# acct acct cntry
type holder
sy india
sy us
The desired report is:
either
1)
abcd 123 345 cod py us
sy us
sy india
sy us
DATE REPORT GENERATION PAGE:2
acct# ibd# ofc# acct acct cntry
type holder
2)
DATE REPORT GENERATION PAGE:2
acct# ibd# ofc# acct acct cntry
type holder
abcd 123 345 cod py us
sy us
sy india
sy us
|
the full account details shud appear in the same page.
Plz suggest me regarding this.
Thanks,
Vinothini. |
|
Back to top |
|
 |
|
|