G
Guest
I have one user with problems and I believe it is related to her Outlook
application. The following is my code:
Private Sub cmdSubmit_Click()
Dim strMSG As String
Dim curAmount As Currency
Dim strBond As String
Dim strChecks As String
curAmount = Nz(Me.AmountOwed)
If Me.BondType = 1 Then
strBond = "Active"
Else
strBond = "Inactive"
End If
If Me.ChecksInTheMail = -1 Then
strChecks = "Yes"
Else
strChecks = "No"
End If
strMSG = ("Member: " & Me.Member) & _
vbCr & ("Company: " & Me.Company) & _
vbCr & ("Closed Date: " & Me.ClosedDate) & _
vbCr & ("Type: " & Me.Type) & _
vbCr & ("Amount Collected: " & curAmount) & _
vbCr & ("Bond: " & strBond) & _
vbCr & ("Number Of Complaints: " & Me.NumberOfComplaints) & _
vbCr & ("Checks In The Mail: " & strChecks)
Set objOutlook = GetObject(, "Outlook.Application")
DoCmd.SendObject , , , "(e-mail address removed)", , , "Close
Collection File", strMSG, No
DoCmd.Close
End Sub
The machine in question just freezes up when the submit button is clicked.
All other users (12) are not having any problems. Does anyone know what
could be the problem and how to fix it. Thanks
application. The following is my code:
Private Sub cmdSubmit_Click()
Dim strMSG As String
Dim curAmount As Currency
Dim strBond As String
Dim strChecks As String
curAmount = Nz(Me.AmountOwed)
If Me.BondType = 1 Then
strBond = "Active"
Else
strBond = "Inactive"
End If
If Me.ChecksInTheMail = -1 Then
strChecks = "Yes"
Else
strChecks = "No"
End If
strMSG = ("Member: " & Me.Member) & _
vbCr & ("Company: " & Me.Company) & _
vbCr & ("Closed Date: " & Me.ClosedDate) & _
vbCr & ("Type: " & Me.Type) & _
vbCr & ("Amount Collected: " & curAmount) & _
vbCr & ("Bond: " & strBond) & _
vbCr & ("Number Of Complaints: " & Me.NumberOfComplaints) & _
vbCr & ("Checks In The Mail: " & strChecks)
Set objOutlook = GetObject(, "Outlook.Application")
DoCmd.SendObject , , , "(e-mail address removed)", , , "Close
Collection File", strMSG, No
DoCmd.Close
End Sub
The machine in question just freezes up when the submit button is clicked.
All other users (12) are not having any problems. Does anyone know what
could be the problem and how to fix it. Thanks