1498715 - BrowseField property is returning null for static parameters when a sub report is included using the RAS .NET SDK

SAP Knowledge Base Article - Public

1498715 - BrowseField property is returning null for static parameters when a sub report is included using the RAS .NET SDK

Symptom

BrowseField property is returning null for static parameters when a sub report is included using the RAS .NET SDK

Environment

Environment:
  • CR 2008 + SP3
  • VS 2008
  • .NET FRAMEWORK 2.0

Reproducing the Issue

How to reproduce the issue:

1-     Download the attached zip file named BrowseField.zip. It contains a C# unmanaged RAS .NET SDK console application and 2 reports: one contains a sub report and another without sub report and they are named respectively dual_native_BrowseField_WithSubReport.rpt and dual_native_BrowseField_WithoutSubReport.rpt

2-     run the sample code once at a time against the 2 reports into VS 2008

3-     You will notice that the BrowseField return the Value Field name when the main report does have sub report but return the following error: “Empty - Not set or Crystal interface error” when the same main report contains a sub report.

Resolution

It is a bug and issue should be fixed in SP4

Keywords

BrowseField property is returning null for static parameters when a sub report is included using the RAS .NET SDK, BrowseField property is returning when report contains subreport, BrowseField return null, BrowseField and .NET. , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

Crystal Reports 2008 V0

Attachments

BrowseField.zip