M
meg
Hello,
I am using a command button on a form to send a report via Outlook to
the two people assigned to an issue. Names are entered in the database
as "Smith, John". The problem is that when the name gets to the To:
field in Outlook, the comma has been changed to a semicolon and Outlook
interprets that as 2 separate addresses. Is there any way to keep the
comma from being replaced with a semicolon? Here is the code I'm
using:
DoCmd.SendObject acReport, "rptIssueReport",
"RichTextFormat(*.rtf)", AssignedTo & ";" & AssignedTo2, "", "", "Issue
#" & IssueID, "", True, ""
Thanks for your help!
I am using a command button on a form to send a report via Outlook to
the two people assigned to an issue. Names are entered in the database
as "Smith, John". The problem is that when the name gets to the To:
field in Outlook, the comma has been changed to a semicolon and Outlook
interprets that as 2 separate addresses. Is there any way to keep the
comma from being replaced with a semicolon? Here is the code I'm
using:
DoCmd.SendObject acReport, "rptIssueReport",
"RichTextFormat(*.rtf)", AssignedTo & ";" & AssignedTo2, "", "", "Issue
#" & IssueID, "", True, ""
Thanks for your help!