2
votes

I have DataWindow with 'name' and 'code'. Also in the SELECT for this DW, I have PM. If PM is null, then I want name to be bold.

How do I do that?

1

1 Answers

5
votes

you should do the following steps:

  1. Open the datawindow
  2. Select the "name" column
  3. Click on the "Font" tabpage (at the right)
  4. Right of the Bold checkbox there is a small square (click on it, and the Expression popup will appear)
  5. Paste this:

    if( IsNull(PM), 700, 0)

The column values will be bold as you need.

Br. Gábor