1631722 - Date function in a Selection Formula is removed when running a report in a VS .NET application

SAP Knowledge Base Article - Public

1631722 - Date function in a Selection Formula is removed when running a report in a VS .NET application

Symptom

  • The following Selection Formula works as expected in the Crystal Reports Designer:

 (({@Stop Date} = Date (0,0,0)) or({@Stop Date} >= CurrentDate))

  • Running an SAP Crystal report with the same Selection Formula in a VS .NET application results in the Date function being lost
  • Inspection of the Selection Formula shows it to look as bellow:

({@Stop Date} = OR ({@Stop Date} >= CurrentDate))

Environment

  • VS 2008
  • Crystal Reports 2008
  • VS 2010
  • Crystal Reports for Visual Studio 2010

Resolution

  • The issue is resolved in Fix Pack 4.2 for CR 2008
  • The issue is resolved in Service Pack 2 for Crystal Reports for Visual Studio 2010
  • ADAPT01580384

 

Keywords

lost deleted wrong data stripped , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

Crystal Reports 2008 V1