Conditional Highlighting

Hi,

Need some help with conditional highlighting.


IIF(FNEXTDATE<EncodeDate(Yearof(Date),Monthof(Date)+1,1),Fill=Red,Fill=None)

don't work just yet. I have missed something.....but what?

Comments

  • try

    IIF(FNEXTDATE<EncodeDate(Yearof(Date),Monthof(Date)+1,1),Fill.backcolor=clRed,Fill.backcolor=clNone)

    Regards

    Tony

  • Thanks tony_c,

    Unfortuneatly did not change background fill (highlighting).

  • I think the condition property has to evaluate to a boolean that toggles the fill.backcolor with the default color.

    If you need more than a default and highlight color you might have to write some code in the beforeprint event of the memoview

  • Try F_NEXTDATE < EncodeDate(Yearof(Date),Monthof(Date)+1,1) condition and set Color to clRed

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.