Mar 11, 2004 #1 zuza Programmer Nov 9, 2003 54 YU Hello there, Below statement is to send report as an attachment via Email/Outlook to Staff member. Please correct me whereever. DoCmd.SendObject "Reportname", acReport, "Table", "[Claimno]= '" & Text80 & "'" Thank you. Zuz.
Hello there, Below statement is to send report as an attachment via Email/Outlook to Staff member. Please correct me whereever. DoCmd.SendObject "Reportname", acReport, "Table", "[Claimno]= '" & Text80 & "'" Thank you. Zuz.
Mar 11, 2004 #2 threadgills Technical User May 29, 2003 34 US DoCmd.SendObject acReport, "Reportname", "RichTextFormat(*.rtf)", "", "", "", """[Claimno]= '"" & Text80 &", "", False, "" RichTextFormat(*.rtf) is where your output option goes Subject Line: [Claimno]='"" & Text80 &" will show up as just that. The easiest way to do this is create a Macro using the SendObject Command and then convert it to VB. Upvote 0 Downvote
DoCmd.SendObject acReport, "Reportname", "RichTextFormat(*.rtf)", "", "", "", """[Claimno]= '"" & Text80 &", "", False, "" RichTextFormat(*.rtf) is where your output option goes Subject Line: [Claimno]='"" & Text80 &" will show up as just that. The easiest way to do this is create a Macro using the SendObject Command and then convert it to VB.