Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

get subreport custom functions text

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

Edit1:  Don, I am looking at the code attached to How To: Parameters in Crystal Reports for Visual Studio .NET

I think my answer might be covered there.

Former Member
Not what you were looking for? View more on this topic or Ask a question