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
Solved

DoCmd.OutputTo acOutputReport

Posted on 2014-03-01
3
494 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
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

828 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