Symptom
- Using ADO .NET Dataset to pass data to a report in a Visual Studio application
- When a currency field has a conditional formula for the "Reverse Sign for Display" it is not evaluated
Environment
- Crystal Reports for Visual Studio 2010
- Visual Studio 2010
Reproducing the Issue
- Create a Crystal Report using OLEDB connection or ODBC
- Add the field type currency in the detail section of the report
- Right click Format Object then click on Number tab
- Click on Customize and then "Uncheck Reverse sign for Display"
- Click on the formula and write formula “1=1”
- Save and close
- View the report in designer the currency value $8 is displayed as ($8)
- In Visual Studio application pass a dataset instead of connecting directly through OLEDB
- The currency will not be reversed $8
Resolution
Issue has been tracked ADAPT01649644 and resolved in Service Pack 5
Keywords
CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 2012 money , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem
Product
SAP Crystal Reports, developer version for Microsoft Visual Studio