Embed word file in access report ?

Posted on 2013-11-07
Medium Priority
Last Modified: 2013-12-05
I have an access application which generates various invoices , reminders etc. I want to add standard terms and conditions as one more report. Its basically pure text ( no variable) , but is approx 7-8 pages. I can print it separately by opening word everytime but if I can print directly from access that will be great.

I tried to create a new report and add text in text boxes , but it seems getting complicated.

is there easy way to put entire word document in access report and print it easily with all its word formatting.
Question by:Vaibhavjoshi2005
  • 2
LVL 21
ID: 39632685
If you are using Access 2007 or later then you can store tee text in a table as Rich Text. This will preserve the  formatting.

Author Comment

ID: 39633244
I tried that but it took only first 4 pages in memo field. Then the formatting and font also got changed.
LVL 21

Accepted Solution

Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 1000 total points
ID: 39633883
I generate lots of documents like what you want with Access reports. I generally put no more than one page in each record's memo field. I use a set of tables for Documents to store the text in multiple records. I use a sub report to print the records.

For the field in the table and the text box control did you set the Text Format to Rich Text?

When pasting from Word, I do find that some of the formatting is not compatible and must be re-applied.

Another option would be to have Access print the file after it printe the Access report.

I have done it with PDFs using this:

CreateObject("Shell.Application").Namespace(0).ParseName("c:\mypdf\myDoc.pdf").InvokeVerb ("Print")

Open in new window

I store things like this in PDFs so it can be easily emailed as an attachment. I can save the Access report as a PDF then append the other PDF(s) to it before emailing.

I have not tried it with Word documents but it should work.

EDIT: Just tested it with Word and it works fine

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
When we develop an application in Ms Access 2016 we should also try to protect the queries, macros and table links. I know I may not have a permanent solution but for novice users, they will not manage to break your application. Below is the detail …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

623 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