ACC: SendObject Action Replaces Comma with SemicolonLast reviewed: August 29, 1997Article ID: Q127972 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you include a comma (,) as part of the To argument for a SendObject action in a macro or code, Microsoft Mail displays the comma as a semicolon (;) when the action runs.
RESOLUTIONTo work around this behavior, enclose the text in the To argument in single quotation marks (') and enclose the entire string in double quotation marks ("), as in the following examples. In Microsoft Access 7.0 and 97:
DoCmd.SendObject , , , "'Fuller, Andrew'", , , "This is a test."In Microsoft Access 2.0:
DoCmd SendObject , , , "'Fuller, Andrew'", , , "This is a test."This causes the text to be treated as a literal string, and prevents Microsoft Access from translating the embedded commas into semicolons.
STATUSThis behavior is by design to ensure a semicolon separates recipients' names when you send mail to two or more people.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about the SendObject action, search the Help Index for "SendObject Action," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: transmit mapi
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |