Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

EnableHideForDrillDown too slow

$
0
0

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.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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