H
Harry V
How do I write a report to to rtf without printing it?
I'm currently using -
DoCmd.OpenReport "MyReport", acViewPreview, "qMyQuery", strFilter,
acHidden
DoCmd.OutputTo acOutputReport, "MyReport", acFormatRTF, strFileName,
False
DoCmd.Close acReport, "MyReport", acSaveNo
- which writes to an rtf but also prints to the defaulat printer. I would
like to give the user the option to write without printing.
I'm currently using -
DoCmd.OpenReport "MyReport", acViewPreview, "qMyQuery", strFilter,
acHidden
DoCmd.OutputTo acOutputReport, "MyReport", acFormatRTF, strFileName,
False
DoCmd.Close acReport, "MyReport", acSaveNo
- which writes to an rtf but also prints to the defaulat printer. I would
like to give the user the option to write without printing.