SAP Knowledge Base Article - Public

1561853 - How to identify subreport links and link field name when using the RAS SDK for VS .NET

Symptom

Environment

  • Any full version of Crystal Reports
  • CRVS2010 (Crystal Reports for VS 2010)
  • Report Application Server (RAS) SDK for VS .NET

Resolution

  • Use the code below
  • In the code, i is the ith linked parameter and is indexed from 1

reportClientDoc.SubreportController.GetSubreportLinks("<subreport name>").GetSubreportLinks()[i].MainReportFieldName
reportClientDoc.SubreportController.GetSubreportLinks("<subreport name>").GetSubreportLinks

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports XI R2