Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Attaching null dataset to a template Post Reply Post New Topic
Author Message
ashisahb
Groupie
Groupie


Joined: 15 May 2008
Location: India
Online Status: Offline
Posts: 48
Quote ashisahb Replybullet Topic: Attaching null dataset to a template
    Posted: 10 Nov 2008 at 10:29pm
Hi ,
 
We have a .Net code to attach a dataset to the template . When the dataset is null or has no value , the code throws an exception Null Reference exception . In this case we need to pass blanks in the template to get a blank report. like select sedol as '' and we get the headers in the report.
is  there any method where we can attach a null dataset to a template so that it can generate a blank report??????
 
 
Regards,
Ashish
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 11 Nov 2008 at 3:23pm
The dataset has to actually exist as an object and it has to have at least one table in it, even if the table is empty.
 
-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.035 seconds.