Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

get subreport custom functions text

$
0
0

Hi All,

 

Having real trouble getting the value of of Custom Function text (not CRUFL).  In reports it is not a problem, but the SubreportClientDocument does not implement CustomFunctionController.

 

Am I missing something obvious?

 

 

        CRDataDefModel.CustomFunctions funcs;
        if (!report.IsSubreport)
        {
            funcs = report.ReportClientDocument.CustomFunctionController.GetCustomFunctions();
        }
        else
        {
            var subrptClientDoc = _report.ReportClientDocument.SubreportController.GetSubreport(report.Name);
            //funcs = subrptClientDoc.CustomFunctionController.GetCustomFunctions();
            funcs = null;
        }

Regards,

 

Steve


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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