cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms - printing a table with different font

Former Member
0 Kudos

Hi all,

I'm building a smartofrms ( only 1 page 😞

I have to print a table, in one column of this table

if there's x i have to print the relative line with special font,

if there's space i have to print the relative line with normal font.

How I can do it ?

tks a lot,

bye...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I done it by alternative in table's element.

in the alternative:

if condotion = true

text = bold

if condotion = false

text = normal

tks for help

Former Member
0 Kudos

No otherway then creating two text elements for every text and branch them based on the conditions.

Regards

Karthik D

Former Member
0 Kudos

you have create 2 text commands for all display items.

for very text put condition in text like gv_flag = 'X'

if there's x you can print one text with differnt font. here font is 10 like what u want

for this very text put condition in text like gv_flag = ' '

if there's space you can print normal font text. here font is 8 like what u want

Former Member
0 Kudos

Hi

IF there is space, I dont think there is anything to print right??? So, in the conditions tab of the element...give it as

itab-xxxx NEQ SPACE.

Then only, there is any text there...it will print the special font....which you can assign through the paragraph format.

Regards,

Vishwa.

Former Member
0 Kudos

Tks for your reply, but:

**********

IF there is space, I dont think there is anything to print right??? So, in the conditions tab of the element...give it as

******************************

No rights:

in one columun we can have 'x' or space, and there's other column in the same line with other data...

Former Member
0 Kudos

Hi,

For that u can take two text elements.

First text element is displayed when itab---var EQ 'X' (Here specify u r paragraph formate)

Second text element is displayed when itab---var EQ ' '

Former Member
0 Kudos

Hi,

Here two twxt elements r having same data. Based on Conditions u can display.