Código Delphi [-] procedure TForm1.ADOQuery1campoSetText(Sender: TField; const Text: String); begin try sender.AsFloat:= StrtoFloat(text); except raise EDatabaseError.Create('Formato incorrecto'); end; end;
procedure TForm1.ADOQuery1campoSetText(Sender: TField; const Text: String); begin try sender.AsFloat:= StrtoFloat(text); except raise EDatabaseError.Create('Formato incorrecto'); end; end;