DBEdit show only 2 digits in float field after SQLTransaction1.Commit;
Original Reporter info from Mantis: clauslack
-
Reporter name: Claudio Romero
Original Reporter info from Mantis: clauslack
- Reporter name: Claudio Romero
Description:
When I commit a transaction, and reopen SQLQuery with another transaction
DBEdit show 2 digits.
Ej:
606 -> 60
7825.36 -> 78
But show fine the number in DBGrid, and with SQLQuery1.FieldByName('precio').asstring;
In the first transaction DBEdit show fine the number, in the second not.
This happen in Firebird float field (numeric 7,2 or numeric 18,2).
Upload test.zip (with ddl table-need and firebird version)
Tested with
Lazarus 0.9.29 svn 21445. fpc 2.3.1 svn 13383
Lazarus 0.9.29 svn 22001. fpc 2.5.1 svn 13795
under Windows 2000 server SP4 and Windows XP sp3
Regards
Mantis conversion info:
- Mantis ID: 14717
- Version: 0.9.29 (SVN)
- Monitored by: » jixian.yang (yang jixian), » sekelsenmat (Felipe Monteiro de Carvalho)
- Target version: 1.0.0
- LazTarget: 1.0