<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Report Builder find carriage return and replace with &amp;quot;,&amp;quot;</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Report-Builder-find-carriage-return-and-replace-with-80642</link>
        <description></description>
        <pubDate>Wed, 20 May 2026 03:24:27 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Report-Builder-find-carriage-return-and-replace-with-80642" rel="self" type="application/rss+xml" />

                <item>
          <title>Report Builder find carriage return and replace with &quot;,&quot;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239321#post2239321</link>
          <description><![CDATA[<p>Ahh yes, sorry about the typo. </p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Mon, 08 Aug 2016 08:59:08 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239321#post2239321</guid>
        </item>
                <item>
          <title>Report Builder find carriage return and replace with &quot;,&quot;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239315#post2239315</link>
          <description><![CDATA[<p>Hey Daryl,</p>
<p>I was able to eliminate the syntax error with a slight change. by wrapping the \r\n in quotes '\r\n'</p>
<p><code>SELECT<br />    num as 'Num', <br />    REPLACE(results,<strong>'</strong>\r\n<strong>'</strong>,',') as 'Results' <br />FROM `&lt;?php echo $TABLE_PREFIX ?&gt;form_submissions`<br />WHERE true<br />LIMIT 1000</code></p>
<p>and I got closer to the desired results of splitting the entire "Results" into columns by dropping \r and using '\n', '","'  </p>
<p><code>SELECT<br />    num as 'Num', <br />    REPLACE(results, <strong>'\n'</strong>, <strong>'","'</strong>) as 'Results' <br />FROM `&lt;?php echo $TABLE_PREFIX ?&gt;form_submissions`<br />WHERE true<br />LIMIT 1000</code></p>
<p><span>The results I get isn't finished but it's a step closer.</span></p>
<p>Zick</p>]]></description>
          <pubDate>Fri, 05 Aug 2016 14:49:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239315#post2239315</guid>
        </item>
                <item>
          <title>Report Builder find carriage return and replace with &quot;,&quot;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239312#post2239312</link>
          <description><![CDATA[<p>Hey Daryl,</p>
<p>I think I understand where you're going. I gave the solution you provided a try and I get the following message:</p>
<blockquote>
<p><strong>MySQL Error:</strong> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\r\n,",") as 'Results' FROM `cms_form_submissions` WHERE true LIMIT 1000' at line 3</p>
</blockquote>
<p>I really don't know MySQL that well, so anything I had written is a complete stab in the dark and is based on suggestions I've found on the forum. So it's very likely what I had in the original post for the MySQL had issues to start with.</p>
<p>Thanks, Zick</p>]]></description>
          <pubDate>Fri, 05 Aug 2016 14:18:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239312#post2239312</guid>
        </item>
                <item>
          <title>Report Builder find carriage return and replace with &quot;,&quot;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239309#post2239309</link>
          <description><![CDATA[<p>Hi Zick,</p>
<p>You need to call the REPLACE function as you select the column, ie:</p>
<p><code>SELECT<br />    num as 'Num', <br />    REPLACE(results,\r\n,",") as 'Results' <br />FROM `&lt;?php echo $TABLE_PREFIX ?&gt;form_submissions`<br />WHERE trueLIMIT 1000</code></p>
<p>Please let me know it that works for you.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Fri, 05 Aug 2016 13:44:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239309#post2239309</guid>
        </item>
                <item>
          <title>Report Builder find carriage return and replace with &quot;,&quot;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239292#post2239292</link>
          <description><![CDATA[<p>Hi,</p>
<p>That can perhaps help you.<br /><a href="http://stackoverflow.com/questions/9362213/i-need-to-find-and-replace-n-in-a-mysql-field" rel="nofollow">http://stackoverflow.com/questions/9362213/i-need-to-find-and-replace-n-in-a-mysql-field</a></p>
<p>Djulia</p>]]></description>
          <pubDate>Wed, 03 Aug 2016 07:48:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239292#post2239292</guid>
        </item>
                <item>
          <title>Report Builder find carriage return and replace with &quot;,&quot;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239283#post2239283</link>
          <description><![CDATA[<p>I'm trying to build a report in Report Builder from a section editor called "form_submission".</p>
<p>In the reports is a column called "results" which contain user details from forms they submit. Below is an example:</p>
<p><strong>First Name: John Last Name: Doe Address: 123 Main St. Address Cont: Suite 100 # 22 City: New York State: NY Zipcode: 10000 Age Group: 30-39 Electronic Signature: John Doe I acknowledge and agree to the Terms of Use: 1</strong></p>
<p>I need to convert the column "results" into individual columns using "," to separate the entries like so:</p>
<p><strong>"First Name: John Last", "Name: Doe<strong>", "</strong>Address: 123 Main St.<strong>", "</strong>Address Cont: Suite 100 # 22<strong>", "</strong>City: New York<strong>", "</strong>State: NY<strong>", "</strong>Zipcode: 10000<strong>", "</strong>Age Group: 30-39<strong>", "</strong>Electronic Signature: John Doe<strong>", "</strong>I acknowledge and agree to the Terms of Use: 1"</strong></p>
<p>Here is what I have created so far in Report Builder:</p>
<p><code>SELECT<br />    *<br />FROM `&lt;?php echo $TABLE_PREFIX ?&gt;form_submissions`<br />REPLACE(results,\r\n,",")<br />WHERE true<br />LIMIT 1000</code></p>
<p>But it doesn't work, and throws the following error:</p>
<p><strong>MySQL Error:</strong> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REPLACE(results,\r\n,",") WHERE true LIMIT 1000' at line 4</p>
<p>I've also attached a snapshot of the header row of the report showing all the other columns within this report.</p>
<p>Anyone have any suggestions, or can point me in the right direction to get this working?</p>
<p>Thanks, Zick</p>]]></description>
          <pubDate>Tue, 02 Aug 2016 00:38:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239283#post2239283</guid>
        </item>
              </channel>
    </rss>
  