Karen,

Since you are calling a PROPERTY command, I think your code needs to be in the “After Generate” eep for the row.

Jan

Sent from my iPhone

On May 26, 2026, at 10:24, 'Karen Tellef' via RBASE-L <[email protected]> wrote:




Figures, after I send the below I figured one thing out.  I need to do the conditional formatting for each row, which makes sense.

Unfortunately "BOLD" still doesn't work.  The only thing I can get to work is Font_Color

So this code works, the font goes from red to black for each row, so in theory the code works.  Just can't make it "bold" rather than red

IF vIsBold = 1 THEN
  -- PROPERTY report1 BOLD "TRUE"
  --  PROPERTY report1 underline "TRUE"
  PROPERTY report1 font_color "red"
ELSE
  PROPERTY report1 font_color "black"
ENDIF



Any clues?

Karen



On Tuesday, May 26, 2026 at 10:11:40 AM CDT, Karen Tellef <[email protected]> wrote:



Wow, I'm pretty sure I've done this before, but I can't find notes and I cannot make it work.

I have a table with a field called IsBold which indicates if certain columns in my detail row should be printed in bold  (value of either 1 / 0 )
I will put the same ComponentID on several fields but for now I just put "Report1" as the CompID on the 1st field.

I have a report variable:   vIsBold =  IsBold

So my Before Generate EEP for detail band has this:

IF vIsBold = 1 THEN
  PROPERTY report1 BOLD "TRUE"
  --  PROPERTY report1 underline "TRUE"
  --  PROPERTY report1 font_color "red"
ENDIF



If I put trace on, I see that it properly identifies the 5 rows where vIsBold = 1.  But several problems:

1.  Bold and Underline do not work at all.  The only thing I could get to work is font_color (but problem #2).  However, I really need the Bold to work.  I tried with font Tahoma (my preference) and Arial as the font

2.  Font_Color worked, but as soon as it ran into a row with vIsBold = 1, then every row after that got the Red.  It wasn't conditional by row.


Can we not do row-by-row conditional formatting?   (And is my syntax for "bold" incorrect?)


Karen





--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/rbase-l/715414122.5415517.1779808942398%40mail.yahoo.com.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/rbase-l/25BCFE47-98CF-44BB-8E9E-C1CA1339343C%40enrichgifts.com.

Reply via email to