on 03-09-2009 10:41 AM
Hi.
i want to display a field whose lenght is 35 char but i have to diplay only 29 char and rest two stars can
any one please help me how to do this.
thanks
Gayatri
I would like to give another option using the define keyword
/: DEFINE &symbol1& = u2018**u2019
/: DEFINE &symbol2& = u2018+the 29 character which u want to be printed +&symbol1&u2019
The resultant &symbol2& will be the 29 character which u want to be printed **
Regards,
K.Sibi
Edited by: sibi k kanagaraj on Mar 9, 2009 2:05 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
&VARIABLE(29)'**'&
or
&VARIABLE(29)&**
Gr. Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gayathri,
Try to implement some thing like this:
Data:
w_char1(35) type c,
w_char2(31) type c,
w_const(2) type c value '**'.
w_char2(29) = w_char1(29).
w_char2+29(2) = w_const.
Now display in the script like &w_char2&.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sorry I cant get your question..
Do u mean to say that you have a 35 character field and u r gonna write only 29 characters and rest 6 fields must be filled with star?
If you want it in the beginning then try it this way using Fill characters
&symbol(Ff)&
&tablename-fieldname& 700.00
&tablename-fieldname(F*)& **700.00
&tablename-fieldname(F0)& 00700.00
If you want it in the end then probably
&symbol(29)&**
Regards,
K.Sibi
Edited by: sibi k kanagaraj on Mar 9, 2009 12:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.