Has anybody encountered issues with the latest DevEx version (1.16) ?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Has anybody encountered issues with the latest DevEx version (1.16) ?

Post by swierzbicki » Wed 03 May 2006 06:17

Hi,

I've just installed the latest DevEx build and I'm having issues with fields having the Currency property set to true.


For example, this code will raise an exception (invalide value xxxx for float field). All my Double field type have the Currency property set to true.


Add an TcxDBEdit component to your main form.
Set the properties.

Compile and run the project.
Go into the cxDBTextedit component and change the value.
Validate by pressing the Enter key.

I'll then get an exception telling me that the value 20 000 € isn't valide for the float field.

When going back to DevEx 1.15, this exception doesn't raise anymore.
I have sended an email to the devex support. They told me that they don't have such an issue with the 1.16 build.

Can anybody here confirm this issue ? I'm using the latest mydac components (4.x branch) + BDS 2006 Update 2.

Thank you.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Wed 03 May 2006 08:28

I tried this with in memory tables.
I'm also getting this error. It looks like the DevExpress build has a serious issue

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 03 May 2006 09:20

Please try to replace the code you have sent with following one:

Code: Select all

  MyQuery.DisableControls;
  MyQuery.Open;
  Myquery.FieldByName('DoubleField').AsFloat := 20000;
  MyQuery.Post;
  MyQuery.EnableControls;
If the problem happens on MyQuery.EnableControls line, that means that the problem concerns DevEx components.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Wed 03 May 2006 17:37

I've got an confirmation from DevEx. Bug is on their side :)

Post Reply