Icon View Incident Report

Serious Serious
Reported By: Poul Halgaard
Reported On: 6/14/2010
For: Version 2.03 Build 14
# 3228 Changing the Global Delphi/C++Builder/FreePascal DecimalSeparator Variable Can Cause Errors

I found a really annoying bug when running in Danish locate (where decimal separator is , instead of .

I set the decimal separator to . because that is how it needs to be when using SQL

However at a certain location of you code it ignores this and ends up with a , in a floating point value.

See text from exception dialog:
---------------------------
Debugger Exception Notification
---------------------------
Project FrontspeedDesignManager.exe raised exception class EEDBError with message 'Could not execute the SQL:

"INSERT INTO "Payment" (
StatusId,
PaymentMethodId,
Amount,
Id
) VALUES (
2,
1,
354.10,
1
);" (Previous Error Message (EEDBError): '354,10' is not a valid floating point value)'.


Comments Comments
EDB was not picking up the DecimalSeparator changes because it was caching the initial startup value.


Resolution Resolution
Fixed Problem on 6/15/2010 in version 2.03 build 15


Products Affected Products Affected
ElevateDB LCL Standard with Source
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image