Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Database/ADO    [ Add a report in this area ]  
Report #:  75975   Status: Need Feedback
EBcdException with message '2.5 is not a valid BCD value'.
Project:  Delphi Build #:  12.0.3420.21218
Version:    12.3 Submitted By:   Alex Gorbachenko
Report Type:  Basic functionality failure Date Reported:  7/21/2009 10:10:45 AM
Severity:    Commonly encountered problem Last Updated: 1/9/2010 6:46:11 PM
Platform:    All versions Internal Tracking #:  
Resolution: Need More Info (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
First chance exception at $7C81EB33. Exception class EBcdException with message '2.5 is not a valid BCD value'. Process Project2.exe (156)
Steps to Reproduce:
MSAccess <-> TADOConnection <-> TADOQuery <-> TDataSetProvider <-> TClientDataSet

AdoQuery query data from MS Access table. Table has float field.

ShowMessage(IntToStr(GetThreadLocale)); // 1033
SetThreadLocale(1049); // russian
GetFormatSettings;
ADOConnection1.Connected := True;
ClientDataSet1.Active := True; // First chance exception at $7C81EB33. Exception class EBcdException with message '2.5 is not a valid BCD value'. Process Project2.exe (156)
Workarounds
TADOQuery.EnableBCD := False;
Attachment
None
Comments

Tomohiro Takahashi at 7/23/2009 12:58:03 AM -
Could you please attach sample project to reproduce your issue, including sample database file?

Server Response from: ETNACODE01