<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic problem with values that contain SEMICOLONs - bug? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235258#M86528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i have a problem when i need to pass values from fields and they contain a semicolons ";"&lt;/P&gt;&lt;P&gt;the api function DynamicUpdateCommand expect a string with the this format when you want to use it to add records to an existing QVlogical table:&lt;/P&gt;&lt;P&gt;INSERT INTO &amp;lt;tablename&amp;gt; (-list of fields names-) VALUES (comma seperatd list of values)&lt;/P&gt;&lt;P&gt;all thos must be passed to the function in a form of ONE string.&lt;/P&gt;&lt;P&gt;Result = ActiveDocument.DynamicUpdateCommand ("INSERT INTO * (Country, City) VALUES (DK, Copenhagen), (NO, Oslo)")&lt;/P&gt;&lt;P&gt;now assume instead of the value "Oslo" i need to insert the value --&amp;gt; "O;slo" (with a semicolon)&lt;/P&gt;&lt;P&gt;when i try this for real the qlikview hangs&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2010 08:15:31 GMT</pubDate>
    <dc:creator>wizardo</dc:creator>
    <dc:date>2010-02-10T08:15:31Z</dc:date>
    <item>
      <title>problem with values that contain SEMICOLONs - bug?</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235258#M86528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i have a problem when i need to pass values from fields and they contain a semicolons ";"&lt;/P&gt;&lt;P&gt;the api function DynamicUpdateCommand expect a string with the this format when you want to use it to add records to an existing QVlogical table:&lt;/P&gt;&lt;P&gt;INSERT INTO &amp;lt;tablename&amp;gt; (-list of fields names-) VALUES (comma seperatd list of values)&lt;/P&gt;&lt;P&gt;all thos must be passed to the function in a form of ONE string.&lt;/P&gt;&lt;P&gt;Result = ActiveDocument.DynamicUpdateCommand ("INSERT INTO * (Country, City) VALUES (DK, Copenhagen), (NO, Oslo)")&lt;/P&gt;&lt;P&gt;now assume instead of the value "Oslo" i need to insert the value --&amp;gt; "O;slo" (with a semicolon)&lt;/P&gt;&lt;P&gt;when i try this for real the qlikview hangs&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 08:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235258#M86528</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-02-10T08:15:31Z</dc:date>
    </item>
    <item>
      <title>problem with values that contain SEMICOLONs - bug?</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235259#M86529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the ';' is being seen as a terminator - I dont know how QV talks to the target database but certainly ';' is a terminator in SQL Procedural Language (SPL). Widely used within QV as well &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;P&gt;You need to either strip them out perhaps by creating a seperate field in the script and use 'purgechar' on it or maybe do something with 'replace' to change it to the ansi value 'replace(fieldname, ';', chr(59)'&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 10:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235259#M86529</guid>
      <dc:creator />
      <dc:date>2010-02-10T10:52:30Z</dc:date>
    </item>
    <item>
      <title>problem with values that contain SEMICOLONs - bug?</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235260#M86530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gordon&lt;/P&gt;&lt;P&gt;thanks for your answer&lt;/P&gt;&lt;P&gt;i have already tried replacing the ";" with chr(59) but since the string is probebly parsed in someway before it is posted by qlikview i guess it just substitue it back to the ";" so it gives same effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and since the need is to preserve the original value then obviously i won't be able to do just purge it or replace it with any other character&lt;/P&gt;&lt;P&gt;so again i ask:) a bug??&lt;/P&gt;&lt;P&gt;Wizardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 13:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-values-that-contain-SEMICOLONs-bug/m-p/235260#M86530</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-02-10T13:09:01Z</dc:date>
    </item>
  </channel>
</rss>

