<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Escaping a single quotation mark</title><link>https://www.infopathdev.com:443/forums/thread/37990.aspx</link><pubDate>Mon, 02 Feb 2009 23:17:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37990</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37990.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37990</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;You could use a different character to separate your items, like a % or something, then use translate to replace that with &amp;#39;, &amp;#39;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;translate(eval(eval(group2, &amp;#39;concat(my:field3, &amp;quot;%, %&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), &amp;quot;%&amp;quot;, &amp;quot;&amp;#39;&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;for example. Of course, getting your opening &amp;#39; will take another concatenation:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;quot;&amp;#39;&amp;quot;, translate(xdMath:Eval(xdMath:Eval(my:group1/my:group2, &amp;#39;concat(my:field3, &amp;quot;%, %&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), &amp;quot;%&amp;quot;, &amp;quot;&amp;#39;&amp;quot;))&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The trick would be to use a character that the entries won&amp;#39;t have -- not too bad if the field uses a drop down list, but a bit tougher if the user can enter whatever he or she likes....&lt;/p&gt;</description></item><item><title>Escaping a single quotation mark</title><link>https://www.infopathdev.com:443/forums/thread/37983.aspx</link><pubDate>Mon, 02 Feb 2009 19:50:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37983</guid><dc:creator>B4d_k42ma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37983</wfw:commentRss><description>&lt;p&gt;This is my formula I&amp;#39;m trying to insert into a field and it won&amp;#39;t allow me to input the single quotation marks, please help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;eval(eval(group2, &amp;#39;concat(my:field3, &amp;quot;&amp;#39;, &amp;#39;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Right where the comma is I have double quotes followed by a single quotation mark then a comma then another sinlge quote and then double quotes, so my end result would be to have this field contain a list somewhat like this..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;#39;Item1&amp;#39;, &amp;#39;Item2&amp;#39;, &amp;#39;Item3&amp;#39;, &amp;#39;Item4&amp;#39;.....ect.&lt;/p&gt;</description></item></channel></rss>