<?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: Getfieldselections in Script Load Statemanet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856212#M658591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure i agree that this is possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the variable values are static... then they should be accessible in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the script is running, the data model is in the process of being flushed and renewed. An expression based variable should not really be able to be calcualted on a complete data model . The exception is if the expression is a valid script expression... in which case its calculated based on the script context&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to think how you can make the saved selection accessible to the script ... but i can't think of one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 02:42:28 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2015-05-14T02:42:28Z</dc:date>
    <item>
      <title>Getfieldselections in Script Load Statemanet</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856211#M658590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have an inline table (SelectCustomer), which i use a MultiBox to select different customer, than i create a variable (VSelectCustomer) which uses Getfieldselections from SelectCustomer to store the selection. Now i need to use the information from VSelectCustomer to use a IF LOAD in the script like the one below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14315598616976843 jive_text_macro" jivemacro_uid="_14315598616976843" modifiedtitle="true"&gt;
&lt;P&gt;IF wildmatch('*VIVO*','$(VSelectCustomer)') then&lt;/P&gt;
&lt;P&gt;SITES:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;P&gt;ENDIF&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that in the ScripLoad th&lt;SPAN style="color: #575757;"&gt;e variable &lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;VSelectCustomer does not shows it selection from &lt;SPAN style="font-size: 13.3333330154419px;"&gt;SelectCustomer, shows only the code =getfieldselections(SelectCustomer)&amp;nbsp; . &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;There is any way to make the LOAD Scrip read the selection? &lt;/P&gt;&lt;P&gt;I alread&lt;SPAN style="color: #575757;"&gt;y try change the &lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;'$(VSelectCustomer)' with &lt;SPAN style="font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;$(VSelectCustomer) and just &lt;SPAN style="font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;VSelectCustomer, and in all cases it returns the code (&lt;SPAN style="font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 13.3333330154419px;"&gt; =getfieldselections(SelectCustomer)) and not the values from the selection.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 23:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856211#M658590</guid>
      <dc:creator />
      <dc:date>2015-05-13T23:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselections in Script Load Statemanet</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856212#M658591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure i agree that this is possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the variable values are static... then they should be accessible in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the script is running, the data model is in the process of being flushed and renewed. An expression based variable should not really be able to be calcualted on a complete data model . The exception is if the expression is a valid script expression... in which case its calculated based on the script context&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to think how you can make the saved selection accessible to the script ... but i can't think of one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 02:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856212#M658591</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-05-14T02:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselections in Script Load Statemanet</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856213#M658592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using before an input box to get the value to the variable and it was working OK in the Script. Now i changed to MultiBox, so i can use the MultiSelection feature, and add the value to the variable by getfieldselections. Seams that formulas in the variable do not work in the Script. Do you know any way to read a MuiltSelection from a field and use the result in the Script? BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 12:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856213#M658592</guid>
      <dc:creator />
      <dc:date>2015-05-14T12:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselections in Script Load Statemanet</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856214#M658593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Just found a Solution in the link below. Getfieldselections direct in the variable do not work in the LOAD script, but with Triggers it works! &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="65816" data-objecttype="1" href="https://community.qlik.com/thread/65816"&gt;https://community.qlik.com/thread/65816&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 19:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselections-in-Script-Load-Statemanet/m-p/856214#M658593</guid>
      <dc:creator />
      <dc:date>2015-05-14T19:53:58Z</dc:date>
    </item>
  </channel>
</rss>

