I really dont know to be honest, here is the code from the form:
Option Compare Database
Option Explicit
Private Sub cmdFax1_Click()
On Error GoTo HandleError
If Programming_Mode Then On Error GoTo 0
'----
Dim strPhNmb As String
Dim strAreaCode As String
Dim strPersonTo As String
Dim intHold As String
'------
'Set Variables
strPersonTo = Me.TxtTo
intHold = Me.grpHold
Select Case Len(Trim(Me.txtFaxNmb))
Case 10 ' has Area Code
strAreaCode = Left(Me.txtFaxNmb, 3)
strPhNmb = mID(Me.txtFaxNmb, 4)
Case 7 ' no area code
strAreaCode = ""
strPhNmb = Trim(Me.txtFaxNmb)
Case Else
MsgBox "Bad Phone Number - we are looking area code and number or number only."
Exit Sub
End Select
'-- If you want to take the code out of the form copy from here down and set the below variables
'strAreaCode = "913"
'strPhNmb = "5557515"
'strPersonTo = "Larry Gordon"
'intHold = 1
'------------- Start Conversations with WinFax
Dim objWFXSend As New wfxctl32.CSDKSend '<--- By using this line you get the pull down list of methods (Called Early Binding)
' To use this line you need to have 'WinFax Automation Server' Checked in your references
' To Check 'WinFax Automation Server' open a module then from the menu
' Tools | References | and find 'WinFax Automation Server' - If you can't find it
' Try browsing for C:\Program Files\Symantec\WinFax\wfxctl32.tlb
' This will also Open the 'WinFax Controller' in your task Bar Tray
'Dim objWFXSend As Object '<--- If the above line give you problems use these two lines (Late Binding)
'Set objWFXSend = CreateObject("WinFax.SDKSend"
With objWFXSend
'Add 1 or more Recipients
.SetHold (intHold)
.SetCountryCode (""

.SetAreaCode (strAreaCode)
.SetNumber (strPhNmb)
.SetTo (strPersonTo)
.SetCompany ("Test Company"

.AddRecipient ' You Can Add Multiple Recipients
'Cover Page
.SetSubject ("Test Subject"

'If the next 2 lines are not sent to win fax there will be no cover page
'.SetCoverFile ("C:\Program Files\SYMANTEC\WinFax\COVER\My_Cover.CVP"

'If a CVP (Cover Page) file is previded - your Cover page will print
.SetCoverText ("Test Cover Text"

'If this line is sent without 'SetCoverFile' a quick Cover page is sent.
'1= shows progress screen 0= does not Show screen (1 default)
.ShowCallProgess (1) '<---- Notice the 'r' missing this works in WinFax 8 & 9
'.ShowCallProgress (me.grpProgressScreen)'<---- Works only in WinFax9
.SetPrintFromApp (1)
.Send (0)
DoCmd.OpenReport "rpt_Is_Setup_to_Use_WinFax_as_Printer", acViewNormal
.done
End With
objWFXSend.LeaveRunning ' If we started WinFax with 'Dim objWFXSend As New wfxctl32.CSDKSend' this will leave it running.
'----
ProcedureDone:
Exit Sub
HandleError:
MsgBox Err.Description, vbCritical, "Error " & Err & " in cmdFax1_Click"
Resume ProcedureDone
End Sub '----------------------------------------
Can you tell from this?
Bill