PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Highlighting with color a field inside a Block
Highlighting with color a field inside a Block
Iniciado por Carlos Antunez, 11,jul. 2018 11:14 - No hay respuesta
Publicado el 11,julio 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