if DataModuleGeral.tbHonorariosPERCENT_ADV_ASSIST1.AsFloat = 0 then
begin
DataModuleGeral.tbHonorariosPERCENT_ADV_ASSIST1.Value := Null;
end;
I have the above routine that when the percentage caligo is 0 I try to set the field to Null
so that in the database I do not have the field blank ...
In Delphi 7
works fine and now in Delphi 10.1 it is not working ...
Anyone know how to solve it?