Hi!
While using RAS SDK I have encountered a problem while modifying or adding new RunningTotalFields with the RunningTotalFieldController. I have a following code, for example:
RunningTotalField tempRTF = (RunningTotalField)cDoc.DataDefinition.RunningTotalFields[0].Clone(); tempRTF .ResetCondition = ((RunningTotalField)cDoc.DataDefinition.RunningTotalFields[0]).EvaluateCondition.Replace(">", "<"); cDoc.DataDefController.RunningTotalFieldController.Modify(cDoc.DataDefinition.RunningTotalFields[0], tempRTF); oReport.SaveAs(oReport.FileName);
SaveAs method returns following error: "System.Runtime.InteropServices.COMException: The report application server failed".
The same happens, no matter whatever modification I do with the Running Total Field Controller. Modifications with other controllers don't cause any problems.
Is there something wrong with my code?