I asked a similar question a few days ago and received this reply from CosmoKramer:
In a new module, add a function similar to this example of mine, of course adapting it to your situation:
Function Xferdoc_MonthStat()
Dim strFileName As String
strFileName = "c:\SMH Monthly Statistics Report - " & Forms!frmMain!txtStats
DoCmd.OutputTo acOutputReport, "rptMonthlyStats", acFormatRTF, strFileName
End Function
Hope this helps.....
I was able to adapt this for my use. I run the function from a command button to output the report.