Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tests to see if the parameter is linked. A linked parameter is created when a main report is linked to a subreport.
Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)
Syntax
'Declaration
Public Overrideable Function IsLinked () As Boolean
public virtual bool IsLinked ()
Example
This example indicates whether a parameter field is linked to a subreport.
'Declaration
Private Function IsParameterFieldLinked(ByVal myReportDocument As ReportDocument) As Boolean
Dim myParameterField As ParameterFieldDefinition
myParameterField = myReportDocument.DataDefinition.ParameterFields(1)
IsParameterFieldLinked = myParameterField.IsLinked()
End Function
private bool IsParameterFieldLinked(ReportDocument reportDocument)
{
ParameterFieldDefinition parameterFieldDefinition;
parameterFieldDefinition = reportDocument.DataDefinition.ParameterFields[1];
return parameterFieldDefinition.IsLinked();
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
ParameterFieldDefinition Class
ParameterFieldDefinition Members
CrystalDecisions.CrystalReports.Engine Namespace