I need to set a formula to dinamically change a bitmap path in a Crystal Report. I've been reading this could be achieved creating the formula in the Formula Field in CR and then modifying it through C# like this:
MyReport.DataDefinition.FormulaFields.Item("FormulaName").Text = "formula";
However, when I try to do it like this, the .Item attribute is nowhere to be found. I'm using CR 13 32-bit, already looked on SAP forums and no one knows anything. Do I have to do something else to get this to work??
I found the solution:
MyReport.DataDefinition.FormulaFields["FormulaName"].Text = "Formula";
The method was updated and was nowhere in documentation.