How to set a field to bold in a condition

OrionizerOrionizer North Carolina
I have the following code in a field on a report:

begin
if [DMMain.TblCustStyleByInv."Description"] <> '' then
DescOut:=[DMMain.TblCustStyleByInv."Description"]
else if [DMMain.TblMillStyleByInv."Description"] <> '' then
DescOut:=[DMMain.TblMillStyleByInv."Description"]
else
DescOut:='*** No Style Description! ***';
end

What I want to happen is this field to be normal text unless the last condition is met, where I would like it to be bold. Is there a way to do this?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:18PM
    Hi
    Assuming
    DescOut is the variable used in a memo(textobject)
    select the memo then pick the conditional highlight tool
    add
    DescOut='*** No Style Description! ***'
    in the condition field then select what you want from the choices available in the other boxes.
    regards
    gord ;)
  • OrionizerOrionizer North Carolina
    edited 4:18PM
    Thanks Gordk! I'll try that Monday!!! ;)

Leave a Comment