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.
Has anybody encountered issues with the latest DevEx version (1.16) ?
-
swierzbicki
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
-
swierzbicki
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Please try to replace the code you have sent with following one:
If the problem happens on MyQuery.EnableControls line, that means that the problem concerns DevEx components.
Code: Select all
MyQuery.DisableControls;
MyQuery.Open;
Myquery.FieldByName('DoubleField').AsFloat := 20000;
MyQuery.Post;
MyQuery.EnableControls;-
swierzbicki
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59