3
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 cap is 0 I try to set the field to Null
so that in the database do not keep the field blank...
In the Delphi 7
works perfect and now in Delphi 10.1 is not working...
Does anyone know how to solve?
Um... I’ll try not to have to think about it.
– Edu Mendonça
Functional Mayor. Thanks man!
– Edu Mendonça