Hi,
On the Report_Close event (Access 97), I have the following code:
Function UtilSave()
docmd.OutputTo acReport, "rptUtilityReport", "RichTextFormat(*.rtf)", "", False, ""
End Function
Obviously, I want the user to be able to save the report where he/she likes. However, Access won't let me do it as it throws up error 2585 and tells me that the action cannot be carried out on an OnClose, OnOpen etc event.
Any thoughts????
--
Steven
On the Report_Close event (Access 97), I have the following code:
Function UtilSave()
docmd.OutputTo acReport, "rptUtilityReport", "RichTextFormat(*.rtf)", "", False, ""
End Function
Obviously, I want the user to be able to save the report where he/she likes. However, Access won't let me do it as it throws up error 2585 and tells me that the action cannot be carried out on an OnClose, OnOpen etc event.
Any thoughts????
--
Steven