I am still trying to figure out the best way to only kick off a report when there is data to report and I think the best way to do this is with Events. I would like to create a query using INFO SQL Designer that will tell me if there is a check processed on that day in our database. If so, I want to schedule a report to run which will send the report of the check created in an email to an individual.
I have found a Crystal Care Technical Support KnowledgeBase Article c2001299 on this and it will work BUT I do not know how I can make the query fail if there is no data to report. Is there a way to do this within SQL then I can use an If Exists (query showing if there were checks cut) Else 'Generate and error.
Any help would be appreciated..
Regards,
Bob
I have found a Crystal Care Technical Support KnowledgeBase Article c2001299 on this and it will work BUT I do not know how I can make the query fail if there is no data to report. Is there a way to do this within SQL then I can use an If Exists (query showing if there were checks cut) Else 'Generate and error.
Any help would be appreciated..
Regards,
Bob