I need to export reports to a Word Documents so people can have a separate editable document file of contract conditions that are sent out. I am doing this by using this command:
DoCmd.OutputTo acReport, stDocName, _
acFormatRTF, Path & "\TCReports\" & Me![PermitNumber] & ".rtf", True
It works, but it hoses the format a little. It puts a random amount of extra space between paragraphs (which are detail sections). This causes the report page breaks to not align with the Word page breaks, which results in one or two orphan lines on headerless pages between the pages with headers. If I print pdfs directly from the report, it works perfectly, so it's definately some kind of bug in the RTF translater. Does anyone know how to avoid this, or have a better way to do it?
Thanks.
DoCmd.OutputTo acReport, stDocName, _
acFormatRTF, Path & "\TCReports\" & Me![PermitNumber] & ".rtf", True
It works, but it hoses the format a little. It puts a random amount of extra space between paragraphs (which are detail sections). This causes the report page breaks to not align with the Word page breaks, which results in one or two orphan lines on headerless pages between the pages with headers. If I print pdfs directly from the report, it works perfectly, so it's definately some kind of bug in the RTF translater. Does anyone know how to avoid this, or have a better way to do it?
Thanks.