Categories > OpenTBS with DOCX >

Condition then value "bold"

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: M. Polat
Date: 2014-10-22
Time: 21:01

Condition then value "bold"

Hello
Can someone please adivce? I am using the following code and would like to have the value 0.00 as bold. Now I am getting "Hallo". Instead of "Hallo" I would like to have 0.00 as bold.  The best will be if [val] = 0.00 then get the entire row as bold. I am using .docx

[sub.Menge;if [val]=’0.00’;then ’Hallo ’]

thanks
mpol_ch
By: Skrol29
Date: 2014-10-23
Time: 22:29

Re: Condition then value "bold"

Hi,

It can work if you:
- take care to replace ’ with ' (simply press [Alt][Ctrl][z] after pressing ['])
- take care to avoid any spelling, grammar or review internal information is the snippet (select the TBS tag, then cut, then copy without format)
- apply the bold format only on the "Hallo" word.