Hi,
I am using VS .NET 2003 and the included Crystal Reports .NET. I have
built a windows form that displays a grouping report using the report
viewer. I would like the end-user to be able to choose the grouping
field from a dropdown list.
I've tried the sample code in the Crystal Help for .NET and it doesn't
work for me.
Dim thereport As New Reports.Crystal Report1
Dim FieldDef As FieldDefinition
FieldDef = thereport.Datab ase.Tables.Item (0).Fields.Item ("fieldname" )
thereport.DataD efinition.Group s.Item(0).Condi tionField = FieldDef
Visual Studio tells me that "Property ConditionField is read only".
Why?
In Object browser:
Public Overridable ReadOnly Property ConditionField( ) As
CrystalDecision s.CrystalReport s.Engine.FieldD efinition
Member of: CrystalDecision s.CrystalReport s.Engine.Group
Please I need help.
Thanks in advanced,
Steve
I am using VS .NET 2003 and the included Crystal Reports .NET. I have
built a windows form that displays a grouping report using the report
viewer. I would like the end-user to be able to choose the grouping
field from a dropdown list.
I've tried the sample code in the Crystal Help for .NET and it doesn't
work for me.
Dim thereport As New Reports.Crystal Report1
Dim FieldDef As FieldDefinition
FieldDef = thereport.Datab ase.Tables.Item (0).Fields.Item ("fieldname" )
thereport.DataD efinition.Group s.Item(0).Condi tionField = FieldDef
Visual Studio tells me that "Property ConditionField is read only".
Why?
In Object browser:
Public Overridable ReadOnly Property ConditionField( ) As
CrystalDecision s.CrystalReport s.Engine.FieldD efinition
Member of: CrystalDecision s.CrystalReport s.Engine.Group
Please I need help.
Thanks in advanced,
Steve