I want to programmatically scan the suppression formulas of a text object in a Crystal report using the ReportDocument
object. The reports were designed using version XI R2 (11.5)
I am able to iterate through the various objects within ReportDocument but I can't seem to programmatically view the formula within a text object using either ReportDefinition
or DataDefinition
. Standalone formulas do show up in DataDefinition.FormulaFields, but I am trying to view formulas that are embedded in a text object (such as a suppression formula). How can I do this, or is this a known limitation of the ReportDocument object?