G
Guest
I am trying to fax a document using syntax from a number of MS KB articles. The VBA is as follows:
Function FaxReport(strReportToFax As String, strFaxNo As String)
Dim db As DAO.Database
Dim strFaxOutput As String
strFaxOutput = "[fax: " & strFaxNo & "]"
DoCmd.SendObject acReport, strReportToFax, acFormatRTF, strFaxOutput, , , , , False
End Function
What happens is that it send the report to Outlook. I have added the MS Fax References to my vba.
Anyone know what I'm doing wrong?
thanks,
Winston
Function FaxReport(strReportToFax As String, strFaxNo As String)
Dim db As DAO.Database
Dim strFaxOutput As String
strFaxOutput = "[fax: " & strFaxNo & "]"
DoCmd.SendObject acReport, strReportToFax, acFormatRTF, strFaxOutput, , , , , False
End Function
What happens is that it send the report to Outlook. I have added the MS Fax References to my vba.
Anyone know what I'm doing wrong?
thanks,
Winston