<?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: extracting &amp;quot;real-time&amp;quot; data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/extracting-quot-real-time-quot-data/m-p/401660#M149461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get the max value of &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;change_datetime&lt;/SPAN&gt; from the data you load with the select statement and put that in a variable at the end of the script. On the next reload you can read out the variable and use it for the where clause of the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 09:00:38 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-04T09:00:38Z</dc:date>
    <item>
      <title>extracting "real-time" data</title>
      <link>https://community.qlik.com/t5/QlikView/extracting-quot-real-time-quot-data/m-p/401659#M149460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, it's not realtime .. not even near, but i runs every half hour.&lt;/P&gt;&lt;P&gt;QMC runs every 15 minutes, pulls out some data and publisher starts creating PDF's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm pulling out all the id's now, but i only need the id's of which no PDF is created yet. I do now a filelist check on the PDF destination. I just check which id's already have a PDF file. &lt;SPAN style="font-size: 10pt;"&gt;it works, but i think it can be more efficient.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to work with the change_datetime field in the database.&lt;/P&gt;&lt;P&gt;So i would just create a SQL query, with a WHERE statement. WHERE change_datetime &amp;gt; $(vSomeVariable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would i use for $(vSomeVariable)? last reload time? putting NOW() in a variable just before triggering the SQL database? i think this i would be possible to miss some id's. Yes, it can be in a split second, but it would be possible that someone changes the state of the id, right between settings a variable NOW() and triggering the SQL statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone got a better idea for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 08:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extracting-quot-real-time-quot-data/m-p/401659#M149460</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-03-04T08:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: extracting "real-time" data</title>
      <link>https://community.qlik.com/t5/QlikView/extracting-quot-real-time-quot-data/m-p/401660#M149461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get the max value of &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;change_datetime&lt;/SPAN&gt; from the data you load with the select statement and put that in a variable at the end of the script. On the next reload you can read out the variable and use it for the where clause of the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 09:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extracting-quot-real-time-quot-data/m-p/401660#M149461</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-04T09:00:38Z</dc:date>
    </item>
  </channel>
</rss>

