Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MS Access 2010 - Runtime Error 2587 on certain output formats

Posted on 2013-05-21
3
Medium Priority
?
2,684 Views
Last Modified: 2016-04-05
My organization is rolling out Office 2010 to pc's, and a recently upgraded group of users is experiencing problems with this command in Access 2010:

DoCmd.SendObject acSendReport, strRpt, acFormatRTF, , , , strSubject, strMsg, True

This command generates runtime error 2587 "Microsoft Access can't complete the Output operation".

Their references are all okay - nothing is broken or missing.  My team works with Access db development, and the error does not occur on our pc's.   Notably, when we modify the command line to acFormatPDF, it works correctly for the user group.  For the time being though, we have users in both 2003 and 2010, and 2003 does not have the PDF format built in, so we need to figure out where the source of this issue is.

Any recommendations on what we can look at?  

Thanks in advance.
0
Comment
Question by:rl_floydian
[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 Comments
 
LVL 12

Accepted Solution

by:
pdebaets earned 2000 total points
ID: 39185380
You may want to look at http://www.lebans.com/reporttopdf.htm to get your Access 2003 reports to print to PDF.

For the 2587 error, please see this thread: http://www.utteraccess.com/forum/OutputTo-err-2587-t1553994.html
0
 

Author Comment

by:rl_floydian
ID: 39185442
Thanks.  The Lebans solution has been helpful for us in the past, and we're glad to be getting away from 2003 since the code is a bit bulky to implement in multiple databases.

Good find on that solution too.  Here's the line that helped me out the most.  It just needed a jump start:

"I fixed it by opening the report in report view (I suspect print preview act the same) and clicking on the export to Word button on the default Access "External Data" tab.

This forced some MS Office configuration procedure to begin."
0
 

Expert Comment

by:MelissaS
ID: 41536897
I too am suddenly having this problem  I am using Access 2010 and have a button that is running a macro to export a report to a *.rtf file.  I need it do be an rtf file, not a pdf.  I worked on Feb 26, 2016 and today the same macro is not working.  I tried to get around it by print previewing the report and then exporting to Word.  It does bring up a Configuration Process for Office 2010), however it gets part way thru that and that that fails. Since the process worked a little over a month ago and doesn't today, I've been assuming that a Microsoft update came down that broke it.  I had another ms update come down a month ago that broke something else.  Then I had found that the update (KB3085515) had been taken down from the update site because of problems.  Today though I've gone thru every update that has come down since 2/26 and have found nothing that has said it causes this problem.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

609 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