SAP Knowledge Base Article - Public

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


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


  • 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.


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


Crystal Reports 2008 V1