<?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 Re: Script Question. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390184#M145577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant thanks, posted a thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 18:00:19 GMT</pubDate>
    <dc:creator>bnelson111</dc:creator>
    <dc:date>2013-02-27T18:00:19Z</dc:date>
    <item>
      <title>Script Question.</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390181#M145574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;New with Qlikview, can anyone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have loaded a ODBC script all okay, but now wish to search using wildcard for certain text in a record set, once found enter it to a new table called Item Type, I know I’m missing something but can’t think.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;ItemCode&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;),'t*'),'Trials','Not Trials'),&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;ItemCode&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;),'f*'),'Finger Prints')&lt;BR /&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Item Type]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;What i want to end up with is a table with Trials, Not Trials and Finger Prints so either can be selected by user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Above code is given the following Tables. so how do i get Not Trials and Trials into Item Type Table? Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;IMG __jive_id="34004" class="jive-image" alt="sample 11.BMP" src="/legacyfs/online/34004_sample 11.BMP" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390181#M145574</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2013-02-27T17:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question.</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390182#M145575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there, and welcome to the world of QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your problem is the close bracket after "Not Trials" which closes off the first "If" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to try something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (WildMatch(ItemCode,'f*'),'Finger Prints',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If (WildMatch(ItemCode,'t*'),'Trials',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Not Trials') as [Item Type],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck and keep trying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390182#M145575</guid>
      <dc:creator />
      <dc:date>2013-02-27T17:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question.</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390183#M145576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou, sometimes cant see the wood for the trees. Worked 100% just needed another bracket after 'Not Trials'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390183#M145576</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2013-02-27T17:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question.</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390184#M145577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant thanks, posted a thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 18:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Question/m-p/390184#M145577</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2013-02-27T18:00:19Z</dc:date>
    </item>
  </channel>
</rss>

