Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform text element display

Former Member
0 Kudos
147

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
109

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,

6 REPLIES 6

Simha_
Advisor
Advisor
0 Kudos
109

Hi,

Loop around the text elemnet and pass the field u want to display.

It will do..

Try it..

Cheers,

Simha.

Former Member
0 Kudos
110

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,

Former Member
0 Kudos
109

Praneeth,

all these values r coming from a single varible r different variables

Regards,

Naveen

0 Kudos
109

Hi Naveen

Single variable...

0 Kudos
109

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

Former Member
0 Kudos
109

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.