Error Message: "The formula syntax is not supported by the report"

We are using 'Development Environment: SAP Crystal Reports, version for Visual Studio 2010 u2013 Standard ' and using CrystalDecisions.CrystalReports.Engine and CrystalDecisions.ReportAppServer APIu2019s
I am reading SQLExpressionFields from one source .rpt file & want to add it to another ReportDocument. While doing so, it gives an error " The formula syntax is not supported by the report"
doc.ReportClientDocumentDataDefController.FormulaFieldController.Add(formualField); // formualField is SQLExpressionField from source ReportDocument
But when I tried to Add FormulaField, it succeeds
Please help me in knowing how to add SQlExpressionFields to ReportDocument.
Regards,
-atul

Thanx Don & Ludek for the reply.
CR provides support for addition/modification of SQLExpressions.
CRAXDRT.Application application = new CRAXDRT.ApplicationClass();
CRAXDRT.Report innerReport = application.OpenReport(path, CROpenReportMethod.crOpenReportByTempCopy);
innerReport .SQLExpressionFields.Add(name, strSQLExpression)
CRAXDRT.dll provides support for addition/modification of SQLExpression fields. But its not compatible with 64bit.
Just curious to know, is there any future plan to provide support for add/modify SQLExpression fields?
Thanx
-atul
Edited by: Atul Chivate on Aug 21, 2011 6:13 PM

Similar Messages

Maybe you are looking for

  • How do I use the context of the column as part of my calculated measure/column?

    Hello, I've struggled with this for a week now. I need my calculation to take the context of the column that it's in and use that value as part of a lookup/filter with which to do an operation. I basically want to add up the "Value" of all the "ORUs"

  • How to get metadata option list values derived from a table/view using SOAP

    I am writing an ASP.NET application that replicates some of the features of the SCS search interface. I have looked at the GET_DOC_METADATA_INFO service and its SOAP output. It has a few missing pieces of information, like the option list values for

  • Missing Links

    Recently I have been running into a problem with placed links in my .indd files. Even though I have the correct drives mounted, InDesign can't find my files. vs. You'll notice in the screenshot on the left that the Path includes iMac:Volumes: Now, if

  • C4480 just churns out blank paper

    I recently bought a new C4480 All-In-One to replace my clapped out HP printer - the old one's paper feed was no longer working. The Paper Feed on the new C4480 is fine, but there is just one snag. Whenever I send over a page or document from my word

  • HT201210 error 1015

    I have got this message before restoring completed The iPhone "iphone" could not be restored. An unknown error occurred ( 1015 )