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

Crystal SDK. How to determine if a parameter is a subreport parameter with auto-linking?

$
0
0

Hi

 

In CR2008 SDK I have the following code to determine what parameters a rpt file have:

 

for (int i = 0; i < doc.ParameterFields.Count; i++)
 {
ParameterField parameterField = doc.ParameterFields[i];
string parameter = parameterField.Name;
}

 

My issue is that when using sub-reports with parameters that have auto-linking these is also passed back to me with this code.

 

So far I have found that I can know if the parameter is from a sub-report is the parameterField.ReportName is not empty

 

That is good but I can't see how I can see if the paramter is autolinked or not

 

Any way to determine this?

 

/Rasmus


Viewing all articles
Browse latest Browse all 2556

Trending Articles



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