Project

General

Profile

Defect #239

numberFormat on new records

Added by Victor Rojo Carballo about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/25/2011
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

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

test.zip (3.57 KB) test.zip Victor Rojo Carballo, 02/25/2011 09:42 AM

History

#1

Updated by Patrick Talbot about 13 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.

#2

Updated by Patrick Talbot about 13 years ago

  • Status changed from In Progress to Closed

Fixed with v1.4.5

Also available in: Atom PDF