I want to be able to add a quote symbol within a quoted filed code. For
example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and
get This is my name "Rey"
I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but
it does not work. Anyone has any idea of how to do this?
Try:
{ Set MyText { Quote " This is my name { Quote 34 Rey 34 }}"}

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> I want to be able to add a quote symbol within a quoted filed code.
> For example {Set MyText "This is my name "Rey""} Then later use {Ref
> MyText} and get This is my name "Rey"
> I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34
> \a}"} but it does not work. Anyone has any idea of how to do this?
Rey - 27 Aug 2006 17:23 GMT
Thank you very much. It did the trick with a little enhancement on my part to
cover a case I had oversimplified in my question. Here is the more general
one.
{ Set MyText { Quote " This is my name { Quote 34 "Rey Smith" 34 }} whether
you like it or not"}
Note the quotes in the inner quote to include a whole string with blanks, etc.

Signature
Rey
> Try:
>
[quoted text clipped - 4 lines]
> > I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34
> > \a}"} but it does not work. Anyone has any idea of how to do this?
Doug Robbins - Word MVP - 27 Aug 2006 17:32 GMT
Hi Greg,
That would need to be:
{ Set MyText { Quote " This is my name { Quote 34 }Rey{ Quote 34 }" } }

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Try:
>
[quoted text clipped - 4 lines]
>> I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34
>> \a}"} but it does not work. Anyone has any idea of how to do this?
Greg Maxey - 27 Aug 2006 23:38 GMT
Doug, either way appears to work equally well for me.

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> Hi Greg,
>
[quoted text clipped - 17 lines]
>>> I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34
>>> \a}"} but it does not work. Anyone has any idea of how to do this?
Rey - 28 Aug 2006 03:49 GMT
I agree both ways work and so does th ethird one I shared and actually used.
Incidentally, the reason we have these three ways, I think, is that
documetation for fieldcode QUOTE is not very good. And that is an
understatement.

Signature
Rey
> Doug, either way appears to work equally well for me.
>
[quoted text clipped - 19 lines]
> >>> I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34
> >>> \a}"} but it does not work. Anyone has any idea of how to do this?