Unformat local formatted floats in WHERE clause for grid updates. Probably fixes issue #2558.

This commit is contained in:
Ansgar Becker
2011-11-05 07:26:32 +00:00
parent 968efc99f3
commit f9e896fede

View File

@@ -4335,7 +4335,7 @@ begin
if DataType(j).Index = dtBit then
Result := Result + '=b' + Connection.EscapeString(ColVal)
else
Result := Result + '=' + ColVal;
Result := Result + '=' + UnformatNumber(ColVal);
end;
dtcBinary:
Result := Result + '=' + HexValue(ColVal);