cancel
Showing results for 
Search instead for 
Did you mean: 

How2suppress generating report in crystal report report 10 when no data.

Former Member
0 Kudos

I am using crystal report v10,

1.I would like to suppress the generating of the report(Main report itself), when no data is returned by the main report query.

2.How crystal is able to identify that no data is returned and if i try to print it, it doesn't print the blank page?

Thanks & Regards,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Got to

File -> Options - Reporting tab

Check - Suppress printing if no records selected

Ian

Answers (1)

Answers (1)

Former Member
0 Kudos

You can use 'Suppress Blank Section' in Section Expert for 'Details' section and other sections that are showing database fileds only.

For other sections, like Page Header, Report Header, footer etc, where constants along with data fields, you can write a suppression formula as given below:

isnull({PrimaryKey Filed used iin the report})

Hope this helps.