Fax Report

  • Thread starter Thread starter madty
  • Start date Start date
M

madty

Guest
Hello,

I am trying to create a button that would fax my order to my supplyer. Here is my code:

Dim stDocName As String
Dim FaxN As String


FaxN = Me.VENDFX
stDocName = "POFax"
DoCmd.SendObject acSendReport, stDocName, acFormatRTF, _
"[fax: " & FaxN & "]", , , , , False

When I use this code it trys to send my report by e-mail. How do I get it to fax via Microsoft fax?
 
When you want to Fax something, don't you just print the report to the fax? I would use the OpenReport method. Be sure to set the arguments properly so the report goes directly to the "priner" rather than preview.
 
I have set the default printer to be the fax, but I keep getting the fax wizzard and I have to fill in all the information by hand. I want access to look at the suppliers fax number and place the fax without having to enter then information by hand every time.
 

Users who are viewing this thread

Back
Top Bottom