Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Exporting Report To Word

Status
Not open for further replies.

Mando13

Programmer
Feb 4, 2005
9
US
I'm trying to export my report to Word. Seems simple but when I do export my report to Word my 'COMMENT' Field only exports over 255 characters. The actuall 'COMMENT' Field is a MEMO Type and my query and report both pull in whole field fine. Can anyone help and tell me how I can get the whole field (more then 255 characters) to export over to Word?
 


What is showing up in Word? Just text? Are there embedded CR & LF (carriage return and line feed)?

Not quite clear...

 
I was able to get the full text to export over to Word. I just moved the fields around in the report design view. I made my COMMENT field longer and the whole text exported over with no problem. Don't know why that would be an issue but it worked. Thanks.
 
How can i pass a access report into word in code.
Like my user will press e-mail button and then i want access to dump the report into word and save the report in a directory i specify and then attach the report into an e-mail. Any idea how i can do this hole piece.
 
Start with something like this...

Code:
DoCmd.OutputTo acOutputReport, "YourReportName", acFormatRTF, "C:\temp\myreport.rtf"

Search here for emailing documents from access...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top