![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#4
|
|||
|
|||
![]()
Hmmm. Have you tried doubling up any single quotes to escape them when
they're in the EmailSubject string? Then you could try just using single quotes surrounding the EmailSubject part of the restriction. string test = EmailSubject; // first clause has single quote within double quotes, // second clause has 2 single quotes within double quotes. EmailSubject = test.Replace("'", "''"); -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "PGS123" wrote in message ... Hi Ken, I did. What I did was to detect the presence of single quote in ConversationTopic then I will use double quotes in my Restrict criteria. And if I detected the presence of double quote in ConversationTopic then I will use single quotes in my Restrict criteria. This works out well. But the problem is when both the single and double quotes are present in ConversationTopic then I don't know how to write my Restrict criteria. Regards, Robin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Senders putted in quotation marks | D | Outlook - General Queries | 1 | May 25th 07 12:47 PM |
Double vs Single line spacing copy paste Outlook 2003 to/from Text Editors | JDJ | Outlook - General Queries | 0 | December 21st 06 08:06 PM |
Sending emails - Single Quote Marks Before/After Contact Name | Vrmwolf | Outlook - Using Contacts | 2 | April 5th 06 03:09 PM |
Single v.s. double-spacing in OE 6 | don | Outlook Express | 6 | March 2nd 06 03:58 PM |
Quotation marks around Contact Names | [email protected] | Outlook - General Queries | 0 | January 15th 06 09:09 AM |