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?
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
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