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 1:56PM
    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 1:56PM
    Thanks Gordk! I'll try that Monday!!! ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.