Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

how to create a FieldObject by RunningTotalField

$
0
0

I'm trying create FieldObject by RunningTotalField,but When an exception is thrown "no error",please help me.thanks!

  // "{#RUN_CoCode}" is existing fields   RunningTotalField runTotalObj = (RunningTotalField)boReportClientDocument.DataDefController.FindFieldByFormulaForm("{#RUN_CoCode}");  to = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();  to.DataSourceName = runTotalObj.FormulaForm;  to.FieldValueType = runTotalObj.Type;   to.Left = 4 * 1440;   to.Width = 3 * 1440;     boReportClientDocument.ReportDefController.ReportObjectController.Add(to, section);

 

Message was edited by: Ludek Uher


Viewing all articles
Browse latest Browse all 2556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>