2006 May 30 2:21 PM
Hi All,
Hi.
I have a text element value like below ..
abcde,12345,ertgh... and so on (dynamic)
Presently it is displaying in a single text element like above.
Now i hav to assign this to a text element in a smartform where i want these to appear in multiple lines like below..
abcde,
12345,
ertgh .. and so on
Any suggestions..
The text element is presently taking it in a single line,i want to appear them in multiple lines.
Regards
Praneeth
2006 May 30 2:29 PM
Hi Praneeth,
First check where the value is coming from and there on you can create a node program lines, where you can spilt them into different variables and remember to declare the variabbles in global and now you can pass the values to export in pogram lines and use this values in other text elements placing one after the other.
cheers,
2006 May 30 2:27 PM
Hi,
Loop around the text elemnet and pass the field u want to display.
It will do..
Try it..
Cheers,
Simha.
2006 May 30 2:29 PM
Hi Praneeth,
First check where the value is coming from and there on you can create a node program lines, where you can spilt them into different variables and remember to declare the variabbles in global and now you can pass the values to export in pogram lines and use this values in other text elements placing one after the other.
cheers,
2006 May 30 2:30 PM
Praneeth,
all these values r coming from a single varible r different variables
Regards,
Naveen
2006 May 30 2:31 PM
2006 May 30 3:13 PM
sorry for the late reply praneeth i was little bit busy
u can add below code in to the form
str = 'amit,partho,abc,xyz'.
SPLIT str AT ',' INTO TABLE itab .
loop at itab.
--
--
endloop.
i think it will help u
Regards,
Naveen
2006 May 30 2:33 PM
Hi
insert program lines to ur text elemnt & try to write the logic in it
split str at ',' into itab.
loop at itab.
endloop.
declare itab globally
now each time u loop this table write a <b>condition</b> in the text elemnt to print the value in newline.