<?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 Select a null value from a field with a VBscript Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150298#M28350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to select null values using:&lt;BR /&gt;ActiveDocument.Fields("My Field").Select ""&lt;BR /&gt;but it doesn't work...&lt;/P&gt;&lt;P&gt;at least I had to modify the script using an "NA" value...&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2009 20:45:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-29T20:45:26Z</dc:date>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150294#M28346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm desperately trying to select null values from a field.&lt;BR /&gt;I need to make null selections of a field from a button.&lt;/P&gt;&lt;P&gt;Is it possible or not ?&lt;/P&gt;&lt;P&gt;That's the vbscript&lt;/P&gt;&lt;P&gt;Sub Test&lt;BR /&gt;ActiveDocument.Fields("Start_Date").Select "isnull()"&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Test_two&lt;BR /&gt;set f = ActiveDocument.GetField ("Start_Date")&lt;BR /&gt;f.ParetoSelect "isnull(Start_Date)"&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your answers, so far so fast so good...&lt;/P&gt;&lt;P&gt;russianblue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 19:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150294#M28346</guid>
      <dc:creator />
      <dc:date>2009-07-24T19:50:38Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150295#M28347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can select a null value - not from a macro, and not manually on the screen. You'd need to modify your script and replace nulls with some kind of value, like "N/A" or "MISSING" or something like that.&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 20:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150295#M28347</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-07-24T20:19:24Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150296#M28348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg,&lt;/P&gt;&lt;P&gt;I already applyed the solution you suggested me in other reports I've made.&lt;/P&gt;&lt;P&gt;I just thought if there was a different solution using a macro instead of modifying the script...&lt;/P&gt;&lt;P&gt;rb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 21:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150296#M28348</guid>
      <dc:creator />
      <dc:date>2009-07-24T21:53:10Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150297#M28349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do your Null values show up in the Field Selection Boxes as blanks?&lt;/P&gt;&lt;P&gt;I just did a quick test with Inlined data (containing some nulls). In the macro, I used:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ActiveDocument.Fields("Value").Select ""&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;And it selected the Null (blank) value. I'm not sure if this will work for all situations. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 22:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150297#M28349</guid>
      <dc:creator />
      <dc:date>2009-07-24T22:51:01Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150298#M28350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to select null values using:&lt;BR /&gt;ActiveDocument.Fields("My Field").Select ""&lt;BR /&gt;but it doesn't work...&lt;/P&gt;&lt;P&gt;at least I had to modify the script using an "NA" value...&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 20:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150298#M28350</guid>
      <dc:creator />
      <dc:date>2009-07-29T20:45:26Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150299#M28351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The blank values from an inline load are not null values but blank values and will not respond to isnull() for example. If you try loading from Excel with blank cells you will get proper nulls.&lt;/P&gt;&lt;P&gt;If you do need null values and want to be able to interact with them you should look up NullAsValue in the F1-help in QlikView for null handling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 10:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150299#M28351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-30T10:30:49Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150300#M28352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already took a look to "NullAsValue" statement and found that it's a dangerous solution... sometimes it can display unespected join results. As I said I'm just looking for an easy way to select in a Field null values with a macro. Thank you so much for your interest. rb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 14:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150300#M28352</guid>
      <dc:creator />
      <dc:date>2009-07-30T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Select a null value from a field with a VBscript Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150301#M28353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try thinking about it this way... QlikView data tables are not the same as, say, MSAccess tables. The QlikView data table is not a grid in which values are held, it is a collection of fields (columns) in which the values are associated with values in other fields (rows). Where there is no association, the grid DISPLAYED in a table object shows a null value. This is because the value does not exist, not that there is a value that is undefined.&lt;/P&gt;&lt;P&gt;I think what you are trying to do is to find something that is not there based on the assumption that QlikView has some way of knowing it is not there.&lt;/P&gt;&lt;P&gt;I have found that it is nearly always better to set a missing value as something known than to leave them as missing (as suggested by Oleg).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 18:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-null-value-from-a-field-with-a-VBscript-Macro/m-p/150301#M28353</guid>
      <dc:creator />
      <dc:date>2009-07-30T18:20:24Z</dc:date>
    </item>
  </channel>
</rss>

