acFormatRTF creates a Word Document with missing text???

  • Thread starter Thread starter Rashar S via AccessMonster.com
  • Start date Start date
R

Rashar S via AccessMonster.com

Hi,

I have the following code that will produce this report to a rich text word
document, once the email button on my form is clicked. When the email button
is clicked, it basically grabs the text from my tblComments / comments Field,
and transfers it to a word document rtf format.

My problem is, is that all but a couple of lines of comments can be seen in
my word document when I open it up. However, if i send it to .mdi picture
file, I see all of the text comments. Can anyone confirm if the following
code is right? Do I need to specify any character length for the word
document?

GenerateReportSourceTables
DoCmd.SendObject acSendReport, "rptPrintCallReports", acFormatRTF,
fnToList, , , fnReportFileName, , True
SignOffCallReportComments


Thanks in advance.
 
Rashar said:
Hi,

I have the following code that will produce this report to a rich
text word document, once the email button on my form is clicked. When
the email button is clicked, it basically grabs the text from my
tblComments / comments Field, and transfers it to a word document rtf
format.

My problem is, is that all but a couple of lines of comments can be
seen in my word document when I open it up. However, if i send it to
.mdi picture file, I see all of the text comments. Can anyone confirm
if the following code is right? Do I need to specify any character
length for the word document?

GenerateReportSourceTables
DoCmd.SendObject acSendReport, "rptPrintCallReports", acFormatRTF,
fnToList, , , fnReportFileName, , True
SignOffCallReportComments


Thanks in advance.

The export to RTF option often truncates text. Don't use it for anything but
simple tabular data. Anything with "growing" TextBoxes will exhibit this
behavior.
 
Back
Top