Solved

If user decides to not email a report - How get rid of the error message?

Posted on 2013-02-07
4
315 Views
Last Modified: 2013-02-07
Am using sendobject to email a PDF report.  All is working fine thanks to an expert.  But if the user closes the email window because they decide they didn't want to send the email, is there a way to get rid of this error message?  

Runtime error 2501. The SendObject action was cancelled.
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38865697
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38865735
I posted a sample there that works...
we are just waiting to see what the OP in that thread replies with...
0
 

Author Comment

by:SteveL13
ID: 38865816
Your code worked for me.  Thanks.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38865832
;-)

Oh, and sorry about my comment in your other question...I forgot that the original "Fax" issue was not resolved...
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question