<?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 Selection from file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183877#M48984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read one line from a text document is no problem using "ActiveDocument.Fields("ChassiNo").Select strText, true"&lt;/P&gt;&lt;P&gt;This works as long as I don't have more then one row, when I have two or more rows the code don't work. Has anybody had this problem and could point me in the right direction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jan 2011 14:15:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-25T14:15:09Z</dc:date>
    <item>
      <title>Selection from file</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183874#M48981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm trying to make a function that allows the user to have their own text document with chassi numbers that they want to select in the application. I think this must be done in a script that the users can call when they want.&lt;/P&gt;&lt;P&gt;Reading the file and clearing the field from choises is no problem. (strText = txsStream.ReadAll) (ActiveDocument.Fields("ChassiNo").Clear)&lt;/P&gt;&lt;P&gt;My problem is how to transfer the choices from my readout to the variable (ChassiNo) in the application. I have tried "ActiveDocument.Variables("ChassiNo").SetContent strText, true" with no luck.&lt;/P&gt;&lt;P&gt;Any sugestions on how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 10:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183874#M48981</guid>
      <dc:creator />
      <dc:date>2011-01-25T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Selection from file</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183875#M48982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Varis,&lt;/P&gt;&lt;P&gt;This may not work in your situation but it could point you in the right direction.&lt;/P&gt;&lt;P&gt;If the txt file containing the relevant Chassis No's is loaded in via a partial reload and then inner joined to the rest of your dataset it will be the same as the user making those selections manually.&lt;/P&gt;&lt;P&gt;Of course the drawbacks are: the user must be able to initiate a partial reload (so server based is probably out) and secondly once the inner join has occured you can't 'clear all' back to see all values.&lt;/P&gt;&lt;P&gt;You may be able to simply join the .txt file Chassis No's to the data and create a mapping value that the user can then select to show the Chassis No's from the txt file.&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 11:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183875#M48982</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-01-25T11:03:29Z</dc:date>
    </item>
    <item>
      <title>Selection from file</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183876#M48983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;Thank you for your answer. The users want to be able to clear their choices and therefor this solution is not suitable for me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be some way in the vbscript to make the selections that are in the file.&lt;/P&gt;&lt;P&gt;//Varis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 11:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183876#M48983</guid>
      <dc:creator />
      <dc:date>2011-01-25T11:15:33Z</dc:date>
    </item>
    <item>
      <title>Selection from file</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183877#M48984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read one line from a text document is no problem using "ActiveDocument.Fields("ChassiNo").Select strText, true"&lt;/P&gt;&lt;P&gt;This works as long as I don't have more then one row, when I have two or more rows the code don't work. Has anybody had this problem and could point me in the right direction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 14:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183877#M48984</guid>
      <dc:creator />
      <dc:date>2011-01-25T14:15:09Z</dc:date>
    </item>
    <item>
      <title>Selection from file</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183878#M48985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case try simply joining the Chassis No's to the data set with a traditional Qv association therefore allowing you to create a list box that allows users to select 'In .txt', 'Not in .txt' or clear for all values in the document.&lt;/P&gt;&lt;P&gt;That way your users have access to the whole data set but can also quickly and easily select the values from their .txt file.&lt;/P&gt;&lt;P&gt;Hope that is of a little more help.&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 14:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183878#M48985</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-01-25T14:37:02Z</dc:date>
    </item>
    <item>
      <title>Selection from file</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183879#M48986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Kari Varis wrote:&lt;BR /&gt;To read one line from a text document is no problem using "ActiveDocument.Fields("ChassiNo").Select strText, true"&lt;BR /&gt;This works as long as I don't have more then one row, when I have two or more rows the code don't work. Has anybody had this problem and could point me in the right direction?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll want to use "ToggleSelect" for the second and subsequent lines.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 20:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-from-file/m-p/183879#M48986</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-01-25T20:32:01Z</dc:date>
    </item>
  </channel>
</rss>

