1704558 - ConvertNullFieldToDefault and ConvertOtherNullsToDefault do not exist in .NET ReportObject collection

SAP Knowledge Base Article - Public

1704558 - ConvertNullFieldToDefault and ConvertOtherNullsToDefault do not exist in .NET ReportObject collection

Symptom

ConvertNullFieldToDefault or ConvertOtherNullsToDefault do not exist in Crystal Reports for Visual Studio 2010 ReportOption collection.

Environment

Crystal Reports for Visual Studio 2010 Service Pack 2 or earlier

Cause

Enhancement was submitted.

Resolution

CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
reportdocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
reportdocument.Load(@"c:\reports\group.rpt");
rptClientDoc = reportdocument.ReportClientDocument;
reportdocument.ReportOptions.ConvertNullFieldToDefault = true;
reportdocument.ReportOptions.ConvertOtherNullsToDefault = true;
 
  • Crystal Decisions Report Application Server:
CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
rptClientDoc = reportdocument.ReportClientDocument;
rptClientDoc.ReportOptions.ConvertNullFieldToDefault = true;
rptClientDoc.ReportOptions.ConvertOtherNullsToDefault = true;

Keywords

ConvertNullFieldToDefault, ConvertOtherNullsToDefault, Crystal Reports for Visual Studio 2010, Crystal Reports, Report Options , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio