D
Dave Elliott
Need to do this preferably from Custom Menu (Macro) Print List or else last
resort from form.
On Error GoTo Err_Command173_Click
DoCmd.OpenReport "RMothStatmnt", acPreview, "",
"[CustID]=[Forms]![Customers]![CustID]"
DoCmd.SendObject acSendNoObject, "FormTyp", acFormatHTML, [E Mail], , , ,
"From Gulf Coast Electric", True, ""
DoCmd.Close acReport, Me.Name
Exit_Command173_Click:
Exit Sub
resort from form.
On Error GoTo Err_Command173_Click
DoCmd.OpenReport "RMothStatmnt", acPreview, "",
"[CustID]=[Forms]![Customers]![CustID]"
DoCmd.SendObject acSendNoObject, "FormTyp", acFormatHTML, [E Mail], , , ,
"From Gulf Coast Electric", True, ""
DoCmd.Close acReport, Me.Name
Exit_Command173_Click:
Exit Sub