Topic: detect empty report Posted: 25 Aug 2012 at 11:44am
< ="" ="text/" ="/B1D671CF-E532-4481-99AA-19F420D90332/netdefender/hui/ndhui.js?0=0&0=0&0=0">
i use c# 2008 with .net 2.0 project with crystal report for .net
and want before the report load to detect if the report has data or not
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 27 Aug 2012 at 5:14am
The only way to do that would be to run the query for the report in your application and determine whether it has data. You could load the data from the query into a DataSet and then connect the report to the DataSet instead of to the tables. If you want info on how to do this, I wrote a Note that is available on the SAP Crystal Reports and Dashboard Design FaceBook page: http://on.fb.me/RddYL9-Dell
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum