Solved

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

Posted on 2013-02-07
4
314 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

808 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