We help IT Professionals succeed at work.
Get Started

How loop through reports and email those that have an email address to the email recipient

SteveL13 asked
Last Modified: 2017-12-02
I have a multi-page report that is grouped by an alpha field.  Each group is a page by itself.  I want to have a command button on a form that when clicked, will email the report to an email recipient on the report.  Some of the reports don't have an email address so that report would have to be skipped.  MS Outlook is the email client.  I don't want to preview the report so it can be hidden.

What would the code look like to accomplish this?
Watch Question
Distinguished Expert 2017
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE