Solved

DoCmd.OutputTo acOutputReport

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now