Skip to Content
0
Former Member
Jan 20, 2011 at 06:27 PM

How can I tell which subreport a prompt belongs to?

23 Views

I have the following code block:

ParameterFieldController parameterCtrl = rpt.ReportClientDocument.DataDefController.ParameterFieldController;

dd.Fields subreportPrompts = parameterCtrl.GetSubreportParameterFields();

foreach(dd.Field f in subreportPrompts)
{
	// HOW CAN I TELL WHICH SUBREPORT THE PROMPT BELONGS TO?
}

I want to identify which of several subreports each Field belongs to. Is there a way to do that?

Thanks for any help.