?
Solved

Embed word file in access report ?

Posted on 2013-11-07
3
Medium Priority
?
818 Views
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.
0
Comment
Question by:Vaibhavjoshi2005
[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
  • 2
3 Comments
 
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.
0
 
LVL 1

Author Comment

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

Accepted Solution

by:
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
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

752 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