|
-
October 9th, 2011, 04:14 PM
#1
Suppress Main report when sub-report return null date
Hi everyone, I did try to look up the solution on Internet but I haven't found one for that yet. I used Crystal Reports XI to create a report with sub-report. I have two groups in my main report. In order to suppress the main report and sub-report section when sub-report returns null date, I have shared variable and the following logic in main report group headers and detail.
WhilePrintingRecords;
Shared DateVar subreportDate;
If IsNull(subreportDate) Then
True
Else
False
For some reason, it suppresses the next record instead of the current record. Please help.
Albert
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|