PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 23 → Highlighting with color a field inside a Block
Highlighting with color a field inside a Block
Débuté par Carlos Antunez, 11 juil. 2018 11:14 - Aucune réponse
Posté le 11 juillet 2018 - 11:14
Hi and Thanks in advance for your help.

I need to highlight a field based on its condition

I have tried this code but it highlight the field on every record.
I only need to highlight the field on the affected record Only and not on every record.

I have put the code on the Before Printing and tried also After Print of the code but nothing works.

Here is the code

IF ITEM_PAYROLL_CODE <> "" THEN
IMG_Icon..Visible = True
ITEM_PAYROLL_CODE..BrushColor = LightYellow
ELSE
IMG_Icon..Visible = False
ITEM_PAYROLL_CODE..BrushColor = Default
END













Thank you so much

Best regards,

Carlos