SAP Knowledge Base Article - Public

1395244 - Dynamically remove fields from a report based on text in the field heading

Symptom

  • Dynamically remove fields from a report.
  • User has only text from field heading.
  • The field name is not known.

Cause

  • There is a connection between the field heading and field.
  • When one is moved, the IDE knows to move the other as well.
  • FieldHeadingObject.FieldObjectName is the object name of the Field corresponding to the Field Heading.
  • Use ReportDefinition.FindObjectByName to find the field by its name.

Keywords

KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

Crystal Reports 2008 V1