Hi all,
I have a report and I need to hide some report areas depending on some conditions.
The code is something like (no copy-paste):
Private Sub Hide(ByVal i AS Integer, ByVal hide as Boolean):
myReportDocument.myReportDefinition.Areas.Item(i).AreaFormat.EnableHideForDrillDown = hide
End Sub.
My simple problem is that in my oppinion this takes way too long...about 2 seconds. When calling this for more than 3 areas it becomes iritating.
Is there another way to improve this performance issue?
I am using CR 2011 version for Visual Studio.
Thanks.