Topic: if dbitemid not equal
Hey guys, what am i doing wrong?
i want this to change color if both comboboxes are different.
begin
if frmassistencia.cbcriacaolocal.dbItemID <> frmassistencia.cbtransferido.dbitemid
then
begin
frmassistencia.cbcriacaolocal.Color := clred
end;