Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta
Moderators: gto, cipto_kh, EgonHugeist
Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta
Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta
Unit1.pas(18,39) Hint: Parameter "DataSet" not used
Zeos unit ZSysUtils;
{$IFDEF FPC}
if OldDecimalSeparator = ',' then
try
DecimalSeparator := OldDecimalSeparator;
Result := StrToFloat(Str);
except
Result := 0;
end
else
begin
Result := StrToFloatDef(Str, Def);
DecimalSeparator := OldDecimalSeparator;
end;
Unit1.pas(18,39) Hint: Parameter "DataSet" not used
Zeos unit ZSysUtils;
{$IFDEF FPC}
if OldDecimalSeparator = ',' then
try
DecimalSeparator := OldDecimalSeparator;
Result := StrToFloat(Str);
except
Result := 0;
end
else
begin
Result := StrToFloatDef(Str, Def);
DecimalSeparator := OldDecimalSeparator;
end;
Hello elidorio2!
The problem you're facing doesn't look from zeos. In the first screenshot, you're trying to set a string value to a float database field. Zeos is warning you that is not possible, and the code stops the execution right over the function that try to convert it (string to float), in ZSysUtils.
Since your you can build your project normally, you should review the data/datatypes of your database.
The problem you're facing doesn't look from zeos. In the first screenshot, you're trying to set a string value to a float database field. Zeos is warning you that is not possible, and the code stops the execution right over the function that try to convert it (string to float), in ZSysUtils.
Since your you can build your project normally, you should review the data/datatypes of your database.
Very strange, indeed. Try to change, in your regional settings, the decimal separator, from period "." to comma "," or vice-versa ( Iniciar -> Configurações -> Painel de Controle -> Opções Regionais e de Idioma -> Personalizar -> Símbolo Decimal, in brazilian portuguese windows xp).elidorio2 wrote:Stranger this!
I use of this same way with Dephi and I function perfectly. I do not know where this this error, use this same version of the Zeos with delphi and I do not have these problems.
-- Edson
Try it and post up the result
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
6.6.2 doesn't exist yet.
Latest release : http://zeosdownloads.firmos.at/downloads/releases
Snapshots : http://zeosdownloads.firmos.at/downloads/snapshots/
Mark
Latest release : http://zeosdownloads.firmos.at/downloads/releases
Snapshots : http://zeosdownloads.firmos.at/downloads/snapshots/
Mark