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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I use NoData()?

Status
Not open for further replies.

sparky2708

Programmer
Jul 8, 2002
18
US
(1) I need to export a Crystal Report to a PDF but only create the file if there is any data in the report. I am using the RDC. The only way I see to do it is using the "NoData" event. How would I do that? i.e. how do I use these events?

(2) Is there a cleaner function that I can call? (I am writing this in C++ - if you show me how you would do this in VB I'll figure it out)
 
The problem with this approach is that I am making different joins in reports I am iterating through. I need to check which of the reports that is being executed on a daily basis has produced no results. If this is the case this report should not be given to users.
 
Did you find a solution to your problem?

We are facing the same issue - trying to determine whether or not a report returns no data without the NoData event. Our program does not have a UI and thus, we cannot trap for that event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top