Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Negative 'Money' being displayed as junk value when using CrystalDecisions.CrystalReports

$
0
0

We are in a process of migrating a VB6/Sybase based system to .Net MVC4/Sybase. The system has few Crystal reports that needs to migrated as part of the effort as well. In the new System we are using CrystalDecisions.CrystalReports DLL version 13.0.7 to generate the report.

 

The issue we are facing occurs when query/stored procedure returns certains values with negative Amounts. In the backend system, the amount column has data type MONEY and if the query/SP returns a negative value for the column, CR prints it as junk arbitrary number. All other values are printed appropriately with proper CR currency formatting.

 

-3.00 is displayed as 4,674,407,370,950.00

-1989.14 is displayed as 4,674,407,368,970.00

-1658.90 is displayed as 4,674,407,369,300.00


This happens only when report is generated via CrytalDecisions.CrystatReports. If we open the report via Crystal Reports 2008, the negative amounts are populated as expected.

 

Please advise.


Viewing all articles
Browse latest Browse all 3636

Trending Articles