Solved

DoCmd.OutputTo acOutputReport

Posted on 2014-03-01
3
496 Views
Last Modified: 2014-03-02
Can someone please how I use docmd.outputTo to either produce an RTF or a query that can be used with a word template?

I guess I need an explanation of the parameters, because nothing I try works.

Thanks in advance.
0
Comment
Question by:CRB1609
[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 36

Expert Comment

by:PatHartman
ID: 39898147
What do you mean - "nothing works".   Specifically, what did you try?  What happened?  What exactly do you want to happen?  RTF exports don't support graphic elements but you can run merges from Access directly in which case you wouldn't have a problem with parameters.
0
 
LVL 16

Accepted Solution

by:
Sheils earned 500 total points
ID: 39898161
If you want to generate word document from data in your access database and a word template, I suggest that you use Albert Kallal's codes. I have used them in many applications and they are very easy to implement. Download sample database with codes from the following link:-

http://www.kallal.ca/msaccess/WordMerge2008.zip

This link is on the following page
http://www.kallal.ca/msaccess/msaccess.html
0
 

Author Closing Comment

by:CRB1609
ID: 39898282
Thanks very much.  Most useful.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

726 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