1670523 - Error: Cannot perform a Top N sort on a group that does not exist

SAP Knowledge Base Article - Public

1670523 - Error: Cannot perform a Top N sort on a group that does not exist

Symptom

  • Using Report Application Server (RAS) SDK in VS .NET application
  • Attempting to modify Top N Group Sort found in Subreport throws error:

Cannot perform a Top N sort on a group that does not exist.

 

Environment

  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010

Cause

  • The SortController tries to validate the modified Group Sort by checking to ensure the Summary Field for the Group exists
  • When the SortController is invoked for the Subreport and for a Group Sort belonging to a Subreport, it checks not the Subreport but the Main report
  • Since the Group does not exist in the Main report, the exception is thrown
  • When the identical Summary Field exitsts in the main report, the error is not thrown

Resolution

  • The issue is resolved in Service Pack 2 for Crystal Reports for Visual Studio 2010
  • Reference: ADAPT01580233

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 can not sub report doesn't , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio