I have a database that uses the following On click event code
Private Sub cmdPrintSecurityDepositRefund_Click()
If [TrfDepositCheckBox] = -1 Then
Me.DepositRefundAmt = 999
Else: Me.DepositRefundAmt = Me.NetDepositAmt
End If
DoCmd.OpenReport “rptSecurityDepositRefund”
DoCmd.SendObject acSendReport, “rptSecurityDepositRefund”, acFormatSNP, “asacorp@sc.rr.com”, , , “Security Deposit Refund Report”, “The Security Deposit Refund Report is attached as a snapshop file”, True
DoCmd.Close acReport, “rptSecurityDepositRefund”, acSaveNo
DoCmd.Close acForm, “frmSecurityDepositRefund”, acSaveNo
DoCmd.Close acForm, “frmCheckOut”, acSaveNo
End Sub
The code has been working for years at number of installations but one user recently upgraded to Windows 7 and is using Outlook 2003 SP3. The report opens fine and a hard copy can be printed but a runtime error 2293 is received when it tries to E-mail the snap report.
Any suggestions.
Tom Goodwin