Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: detect empty report Post Reply Post New Topic
Author Message
fanan
Newbie
Newbie
Avatar

Joined: 02 Jan 2011
Location: Egypt
Online Status: Offline
Posts: 28
Quote fanan Replybullet 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
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet 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
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.016 seconds.