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

BCA and "No Data to Fetch" 1

Status
Not open for further replies.

khansen97

Programmer
Oct 14, 2003
60
US
In BCA I have set up reports to run and then distribute through email. I have found that when a report runs and no data is returned, the report still gets emailed out. I want it so that it DOES NOT email out, but still makes a record of the report running successfully, possibly in a log file.

I thought about a VBA macro, but I really am not too familaiar with BCA. Can I set up a VBA macro to check for data before it emails?

Does anybody have any other suggestions?

thanks
 
You must be using a script for doing the email. So you are using VBA.

What you can do is use the condition at the bottom of the dialog box to check a report variable's value before the script gets executed.

Steve Krandel
Knightsbridge Solutions
formerly BASE Consulting Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top