I want to programmatically change formulas in a variety of reports, for example this question , but I also need to change the formula between Crystal syntax and basic syntax. I see no way to do this in the object model. Is it possible?
i.e. I have a formula called "Period" that already exists in many reports, and is currently defined in Crystal Syntax. I want to set the formula in the basic syntax and provide updated formula text. I do not need to automatically convert the current definition from the crystal to the main; I already have a new formula text.
If I just go through all the reports, open them and then set the TextFieldDefinition Text property, then the formulas are still set to โCrystal Syntaxโ and will not be evaluated correctly. Currently, my only solution is to open each report manually, edit the formula, change the drop-down list from Crystal syntax to the basic syntax.
source
share