Numeric error in PostrgeSQL, SQLite and Firebird

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
silvioprog
Junior Boarder
Junior Boarder
Posts: 42
Joined: 10.01.2009, 00:34
Location: Brasil
Contact:

Numeric error in PostrgeSQL, SQLite and Firebird

Post by silvioprog »

Hellow my friends,

I send in attached a project to reproduce the error, I think is the best way to explain what is happening. In DBEdit I can not insert a comma, but in the DBGrid I can. :?

How can I resolve this error? Which unit I search this error to solve?

Ubuntu-9.10 (and 10.04);
FreePascal-2.2.4-3;
Lazarus-0.9.28.2 (and 0.9.29);
GTK2;


Thanks.
You do not have the required permissions to view the files attached to this post.
silvioprog
Junior Boarder
Junior Boarder
Posts: 42
Joined: 10.01.2009, 00:34
Location: Brasil
Contact:

Post by silvioprog »

An note,

With the components of the palette SQLdb DBEdit works. But those components do not compare to Zeos. Zeos it's veeery gooood. :)

I noticed that the Zeos uses the type TFloatField, and SQLdb uses TBCDField. :/
silvioprog
Junior Boarder
Junior Boarder
Posts: 42
Joined: 10.01.2009, 00:34
Location: Brasil
Contact:

Post by silvioprog »

Hellows my friends,

I found the bug :twisted: , and I reported here: http://bugs.freepascal.org/view.php?id=15988 :!:

Thxs!
silvioprog
Junior Boarder
Junior Boarder
Posts: 42
Joined: 10.01.2009, 00:34
Location: Brasil
Contact:

Post by silvioprog »

I solved, the 'powerfull' :P solution, see:

http://www.lazarus.freepascal.org/index ... 894.0.html

Thks!
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

So I suppose we'll have to wait for this to work until the fpc people solve this. DBEdit controls are not in the zeoslib scope.

But : good job anyway!!

Mark
Image
Locked