Defect #239
numberFormat on new records
0%
Description
Hi,
when I create new records and then I get a report of them, the number fields aren“t showing with the numberFormat until I re-open the session (close SmartClient and open it again).
I attach a sample solution:
-Open solution in SC
-Create some new records and fill the Amount field
-Close SC and open it again.
-Create some new records and fill the Amount field
-Click the Print button and see the different format of the records created in the session.
Tested from developer, Servoy 5.2.6, VelocityReport 1.4.4, PostgreSQL 8.4
Thanks in advance.
Files
History
Updated by Patrick Talbot about 14 years ago
- Status changed from New to In Progress
- Assignee set to Patrick Talbot
Now that's an interesting one!
Thanks for reporting and thanks for the sample: it helped!
I have found out that when records are created at first their values are stored as BigDecimal, but when retrieved the second time, they are Double!
I have added formating on BigDecimal as well and it fixes the problem
Will publish an update soon.
Updated by Patrick Talbot about 14 years ago
- Status changed from In Progress to Closed
Fixed with v1.4.5