View previous topic :: View next topic
|
Author |
Message |
Prem.y
New User
Joined: 09 Feb 2011 Posts: 7 Location: Hyderabad
|
|
|
|
Hi,
I am trying to generate the report as follows using easytrieve program
Code: |
3/28/2011 S U M M A R Y - PAGE 1
PROC-IND TYPE COUNT
---------- ------ ----------
FILIN-CRDT FILIN-PROG TALLY
DTCY/CCAN 5
DTCY/CCAN 5
DTCY/DLVA 16
DTCY/DLVA 16
21
|
But i am getting as follows
Code: |
3/28/2011 S U M M A R Y - PAGE 1
PROC-IND TYPE COUNT
FILIN-CRDT FILIN-PROG TALLY
DTCY/CCAN 5
DTCY/CCAN 5
DTCY/DLVA 16
DTCY/DLVA 16
21
|
I want to insert a extra lines(Like : ---------- ----- ------- ) between title and heading
Title --> PROC-IND TYPE COUNT
Heading--> FILIN-CRDT FILIN-PROG TALLY
Code as follows:
Code: |
TITLE 01 'S U M M A R Y - '
TITLE 02 'PROC-IND TYPE COUNT '
HEADING FILIN-CRDT ('FILIN-CRDT')
HEADING FILIN-PROG ('PROG')
HEADING TALLY ('TALLY')
LINE 01 FILIN-CRDT FILIN-PROG TALLY
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
EASYTRIEVE is a CA product.
Please learn to post in the correct forum. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
How about this (and RTFM) :
TITLE 03 '---------- ------ ----------'
And change this :
Never give up until you try and succeed:-)
into
Never give give up, till other people do your work. |
|
Back to top |
|
|
Prem.y
New User
Joined: 09 Feb 2011 Posts: 7 Location: Hyderabad
|
|
|
|
Thanks Peter
Now My requirement is changed. Expecting to be as follows
Code: |
3/28/2011 S U M M A R Y - PAGE 1
PROC-IND TYPE COUNT
FILIN-CRDT FILIN-PROG TALLY
---------- --------- ----------
DTCY/CCAN 5
DTCY/CCAN 5
DTCY/DLVA 16
DTCY/DLVA 16
21
|
Expecting the lines ( --------- ------- ---------- ) after heading
I tried but not able to get the expected one.do needul. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
As far as i see it nothing changed in your requirement (your 1st post)
So you say the following is not working ? :
Code: |
TITLE 01 'S U M M A R Y - '
TITLE 02 'PROC-IND TYPE COUNT '
TITLE 03 '---------- ------ ----------'
HEADING FILIN-CRDT ('FILIN-CRDT')
HEADING FILIN-PROG ('PROG')
HEADING TALLY ('TALLY')
LINE 01 FILIN-CRDT FILIN-PROG TALLY
|
And maybe you show your whole REPORT statement? |
|
Back to top |
|
|
Prem.y
New User
Joined: 09 Feb 2011 Posts: 7 Location: Hyderabad
|
|
|
|
The above code which you pasted is working fine and lines will be displayed in the report after Title 02 ( i.e after 'PROC-IND TYPE COUNT ) , but here my requirement is I want the lines to be displayed in the report after Heading(i.e after FILIN-CRDT FILIN-PROG TALLY
) as
Code: |
TITLE 01 'S U M M A R Y - '
TITLE 02 'PROC-IND TYPE COUNT '
HEADING FILIN-CRDT ('FILIN-CRDT')
HEADING FILIN-PROG ('PROG')
HEADING TALLY ('TALLY')
TITLE 03 '---------- ------ ----------'
LINE 01 FILIN-CRDT FILIN-PROG TALLY
|
When i put TITLE 03 after heading then Job ending with Maxcc=16
The report should look like:
Code: |
3/28/2011 S U M M A R Y - PAGE 1
PROC-IND TYPE COUNT
FILIN-CRDT FILIN-PROG TALLY
---------- --------- ----------
DTCY/CCAN 5
DTCY/CCAN 5
DTCY/DLVA 16
DTCY/DLVA 16
21
|
and not like:
Code: |
3/28/2011 S U M M A R Y - PAGE 1
PROC-IND TYPE COUNT
---------- ------ ----------
FILIN-CRDT FILIN-PROG TALLY
DTCY/CCAN 5
DTCY/CCAN 5
DTCY/DLVA 16
DTCY/DLVA 16
21
|
Suggest me |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
My bad, i missed the '----' after the heading.
But try this :
HEADING FILIN-CRDT ('FILIN-CRDT' '----------')
etc.
And you still didnt RTFM
One or more alphanumeric literal values specify the content of the alternate
heading. Multiple literals within the parentheses are stacked vertically over the
field when printed. |
|
Back to top |
|
|
Prem.y
New User
Joined: 09 Feb 2011 Posts: 7 Location: Hyderabad
|
|
|
|
Thanks a lot Peter
Its working |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Everything i suggest is working |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the only thing that seldom works around here is the suggestion to read the manuals |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Enrico, thats the terrible truth. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Why read it yourself when you have staff to do it for you |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
That was a long time ago when i was a "staff" member, after a while my a-social behavior helped me to form my own staff, that was me and myself. |
|
Back to top |
|
|
|