cancel
Showing results for 
Search instead for 
Did you mean: 

How to add two lines in one cell in smartforms

Former Member
0 Kudos

Hi All,

can anyone help me to implement the following format in smartforms?

i have create one line type in table, one of the cell in the line type need to split two small line, the upper line is summary and the lower line still split into three small cell. how can i do?

?|????|___sum____|

?|????|aaa|bbb|cccc|

Edited by: wei fang on Oct 21, 2008 2:19 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Wei Fang,

You can try by creating a 2 line template (1 Template, 2 linetype) under a loop note.

So your smartform tree structure will be shown like this:

LOOP
    TEMPLATE1.

On the LOOP part, pass the internal table of your data to the working areas.

On the template put all the data of the summary on your first linetype, and put

the detail data on your second linetype.

Good luck and hopefully this will solve the problem

Edited by: Prawira Fadjar on Oct 22, 2008 10:04 AM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi...

Yes this can be achieved but with the help of TEMPLATE.

With Template you can create various number of columns in one line but depending on the Row length.

I would suggest you to go with TEMPLATE.

Regards,

Mandeep.

Former Member
0 Kudos

Your requirement can be done using Template.

Regards

Karthik D

Former Member
0 Kudos

Hi,

May I know why you want to create only one line type.

It will be very easy if you create two line types.

Any how try this,

create one line type with three cells ( you already did it )

So in the text element 1 of 3

&SUM& - here press enter and then prinit below line

&aaaa& tab &bb& tab &ccc&

here what is a tab - create a paragraph format with tabs with exact lengths.

Regards,

Venkatesh

Former Member
0 Kudos

the main requirement is: only ONE main line, in the line first and second cell is normal, but the third cell should be splitted into two small lines, the upper is summary cell, and the lower is divided into three small cells.

i know two line type can implemented. but how can make the text in the first two cells displayed in center?