DoCmd.OutputTo acOutputReport

Clive Beaton
Clive Beaton used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
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.
Commented:
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
Clive BeatonAccess Developer

Author

Commented:
Thanks very much.  Most useful.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial