Subject | Re: TIB_DSQL RuntimeError when Prepare |
---|---|
Author | Dieter Tremel |
Post date | 2004-05-27T08:02:15Z |
--- In IBObjects@yahoogroups.com, "Dieter Tremel" <tremel@t...>
wrote:
if IsCurrencyDataType then begin
// Tremel 27.5.2004 work around
if (Length( tmpStr ) + SQLScale) > 0 then
tmpStr[Length( tmpStr ) + SQLScale] :=
DecimalSeparator;
end;
AsString := tmpStr;
Is this a unknown bug? By the way I use WI-V6.3.0.4306 Firebird 1.5.
Thank You
Dieter
wrote:
> if IsCurrencyDataType thenOf course I could fix it myself like
> tmpStr[Length( tmpStr ) + SQLScale] := DecimalSeparator;
> AsString := tmpStr;
> Any idea or fix?
if IsCurrencyDataType then begin
// Tremel 27.5.2004 work around
if (Length( tmpStr ) + SQLScale) > 0 then
tmpStr[Length( tmpStr ) + SQLScale] :=
DecimalSeparator;
end;
AsString := tmpStr;
Is this a unknown bug? By the way I use WI-V6.3.0.4306 Firebird 1.5.
Thank You
Dieter