Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When no records why does it create PDF file with header and footer

Status
Not open for further replies.

hafta

Programmer
Nov 24, 2002
7
US
Hello guys, when there is no data why PDF file is still being created with header and footer text. How do avoid this PDF creation as I do not know how to fetch Getrowcount() from a report.

It's urgent . I will appreciate your help.

Dilemma
 
Click on File->Report Options and check Suppress if no records found.

Cheers,
-LW
 
I have ticked this option both in Options menu and Report Options menu but still it generates a file because this report has a heading eg. "Account Details Report" so it exports it. Am I doing something wrong ?

Thanks
Dilemma
 
What are you referring to when you say "it"? CE? An application?

In my scheduling application (Visual CUT) I have an option to abort scheduled processing if the report finds only zero records. Are you looking for code to do this? If so, what object model and language are you using?

Cheers,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
It's very simple I would like to pick numberofrecords before triggering the job so that if I know in advance there are no records I will simply abort that job.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top