<?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: Simple LOAD - taking too long ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874573#M305433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will be most often happens if the load generate some synthetic keys or circular references which could need a lot of time to calculate and/or there are some store-statements which could be take some time by large amounts of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 07:58:07 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-05-05T07:58:07Z</dc:date>
    <item>
      <title>Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874572#M305432</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;I have an issue:&lt;/P&gt;&lt;P&gt;- In my current app, I have multiple ways of reloading the script (or parts of it) based on user_input on the GUI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I have two buttons, one for a full (regular) and one for a partial reload;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - These two are again split in two using conditional execution (a &amp;gt;&amp;gt; IF ... THEN &amp;lt;&amp;lt; bracket)&lt;/P&gt;&lt;P&gt;=&amp;gt; Because I cannot simulate this (not without mayor "retooling" to be repeated every time, anyway), I use TRACE statements to tell which part of the code has been executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is not much data in there yet, just a few records.&lt;/P&gt;&lt;P&gt;My issue is such: The LOAD itself is seemingly finished in a second, just like it should - at least the TRACE statement highlighting the end of it is displayed pretty quickly.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; But then it takes a while (from a few seconds to a few minutes) until the button "OK" becomes available.&lt;/P&gt;&lt;P&gt;Can you tell me what might be the reason for this? This app is eventually supposed to be like a database where multiple users will enter data in the qvd file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 07:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874572#M305432</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T07:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874573#M305433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will be most often happens if the load generate some synthetic keys or circular references which could need a lot of time to calculate and/or there are some store-statements which could be take some time by large amounts of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 07:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874573#M305433</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T07:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874574#M305434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the answer!&lt;/P&gt;&lt;P&gt;However, there is just one table, so there cannot be a synthetic key or circular reference.&lt;/P&gt;&lt;P&gt;There is a STORE statement in two of the blocks of code to execute - but the table has 46 records, so that should not take long.Something needs some time to calculate, that's for sure, and I guess it is in the script - the GUI is only calculated after the execution_window has been closed, no?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: I will experiment a bit with the start and end of that &amp;gt;&amp;gt; IF NOT ISPARTIALRELOAD() &amp;lt;&amp;lt; bracket, there might be a code that takes so long after the LOAD has finished. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874574#M305434</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T08:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874575#M305435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, this should be very fast. Are there further statements involved maybe some loops? What said the log? What happens if this runs in the debugger?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874575#M305435</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T08:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874576#M305436</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;I am just checking the code. The entire script is subdivided into several parts:&lt;/P&gt;&lt;P&gt;- The first part (standard elements) is executed in all cases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot use&lt;/P&gt;&lt;P&gt;- Then there&amp;nbsp; is the &amp;gt; IF NOT ISPARTIALRELOAD() &amp;lt; bracket&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =&amp;gt; This is subdivided by use of the &amp;gt; IF [variable] = X THEN ... ELSE &amp;lt; function into two&lt;/P&gt;&lt;P&gt;- After the ENDIF statement, there are again some statements to be executed in all cases&lt;/P&gt;&lt;P&gt;- Then there is the &amp;gt; IF ISPARTIALRELOAD() &amp;lt; bracket&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =&amp;gt; This is again subdivided by the same function (another variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log says nothing about this: It looks completely normal and the entire execution (of one branch) takes just about a second. The log finishes with "Script execution finished" after a second or so. Nothing visible there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot easily use the debugger because I cannot distinguish between full (regular) and partial reload in the debugger. So I would have to change around my code to fit the debugger and there is usually a chance that somewhere along that line, the actual error goes missing, to turn up again when you stop using the debugger and return to normal execution &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874576#M305436</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T08:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874577#M305437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could imagine that the reason is the partial load then these data must be included in the datamodel by rebuilding the symbol-tables. I think if you looked to the taskmanager you will see some activities to this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874577#M305437</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T08:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874578#M305438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, I guess it must be something connected with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too bad - having multiple ways in which to reload my script (or parts of it) is crucial to this app.&lt;/P&gt;&lt;P&gt;Maybe I will deactivate the partial_reload_branch for testing and remove the ISPARTIALRELOAD() function and try with just the conditional execution. If that helps, I would just abandon the approach with the partial reload and use more conditional_execution_branches instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: I noticed something else. I had overlooked those &amp;gt;&amp;gt; IF ... THEN &amp;lt;&amp;lt; clauses were not properly closed off - at least that's how it seems. I had one opening IF ... THEN for the full or partial reload and inside that another &amp;gt;&amp;gt; IF THEN &amp;lt;&amp;lt; opening (for the variable for the conditional execution) but only one &amp;gt;&amp;gt; ENDIF &amp;lt;&amp;lt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874578#M305438</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T08:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874579#M305439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think partial loads will have only an advantage if you loads huge amounts of data quite often (maybe hourly). If not normal incremental loads will be fast enough and easier to handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874579#M305439</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T08:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874580#M305440</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;I'm with you there. The issue is, in this case the partial load has nothing to do with the amount of data to load. There are completely different blocks of code to execute.&lt;/P&gt;&lt;P&gt;That does not seem to have been the problem, either. I deactivated everything to do with the partial reload, leaving only the conditional execution, but I still had the same issue - the script finishes in about 1sec, then comes the final TRACE statement, the button OK becomes available - and I see the cursor indicating that something is still calculating and I have to wait another 20sec approximately until I can click the button.&lt;/P&gt;&lt;P&gt;This seems to be a very difficult one - but then, QlikView is not your typical tool to build a database. I didn't expect it to be easy ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 08:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874580#M305440</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874581#M305441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if to use qlikview as database is very practical. It needs many logic to develop and test things which others have already developed and tested. So I think it could be easier to use qlikview as a frontend and control-tool but the backends are real databases, maybe these postings are helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="/t5/forums/searchpage/tab/message?q=write database&amp;amp;type=document"&gt;https://community.qlik.com/search.jspa?q=write+database&amp;amp;type=document&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874581#M305441</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T09:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874582#M305442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I once faced a bug with similar symptoms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to switch window after your reload should be finished.&lt;/P&gt;&lt;P&gt;So, if you think the reload just takes 5 seconds, wait a few more before switching the window with Alt+Tab. Switching back could enable the OK-Button. At least that was the solution to my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I sometimes have this problem with really fast scripts. the log window with the OK-Button is somehow inactive and there fore i need to switch the window or click somewhere else to reactivate it to be able to click on OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this also works with your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874582#M305442</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2015-05-05T09:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874583#M305443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sure. Using QlikView as a frontend and a real database in the background does seem more logical. The issue is, there is nobody here to create the database that we want and spending money is not within my sphere of influence - it's only for a handful of records, never more than 20 I guess, but with various people to work with it. This was supposed to be done as an ACCESS_database - but well, that was supposed to be complete on Jan 01, but as there was no one to actually do it, the task was now given to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway - whatever kind of database we have in the background, whether that is an SQL database of some kind or just a flat file - that leaves me with the requirement of including in my frontend_app several ways to execute different blocks of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The process is like this:&lt;/P&gt;&lt;P&gt;- We get new records from our customer in their system daily, in their system, so they are exported&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;=&amp;gt; there need not be new records every day, but we check daily&lt;/P&gt;&lt;P&gt;- We (various people all over the place) add our information to these records and work on them&lt;/P&gt;&lt;P&gt;- At some point, one record is completely processed, then Feedback to our customer is given in some way&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the record drops out of the database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; I need to execute various blocks of code:&lt;/P&gt;&lt;P&gt;- I need a way to load the new masterfile (from xls) and insert it into the database;&lt;/P&gt;&lt;P&gt;- I need a way to load the existing database (qvd) - to get any updated records in case someone else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; has already worked on it.&lt;/P&gt;&lt;P&gt;- When someone is working on the database and has updated one record, I need a way to refresh the table&lt;BR /&gt;&amp;nbsp;&amp;nbsp; such as it is in memory and update that specific record =&amp;gt; then another one can be selected for updating;&lt;/P&gt;&lt;P&gt;- Last, I need a way to "close off work_session" and save the table back to qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, this does work - I can tell from the TRACE statements I have that I can execute each of the four different variations all right; My remaining issue is just that it takes so long (AFTER the button &amp;gt;&amp;gt; OK &amp;lt;&amp;lt; has become available at the end of the script_execution)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874583#M305443</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T09:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874584#M305444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, unfortunately this won't solve my problem - the script takes just about 1sec (regardless which block of code I choose to execute), the log is finished after that time and the button OK does become available after about 1sec - but the cursor keeps on turning (that is the successor of the well-known hourglass indicating that something is being worked on or else) and it takes a while until that ceases and I can actually click the button.&lt;/P&gt;&lt;P&gt;Thanks for answering anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874584#M305444</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T09:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874585#M305445</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;I guess I'll have to put some more thinking into this.&lt;/P&gt;&lt;P&gt;I am just considering - there are going to be various people working on this, potentially at the same time (I know of no way to prohibit this like in Excel).&lt;/P&gt;&lt;P&gt;Different people are not going to put differing infos in the same fields, which is already a great relief, but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; When two people are simultaneously working on the database and one has just saved his work, the other one has the older version in his machine's memory&lt;BR /&gt;=&amp;gt; When that second person works on one or more records and that always turns round in his machine's memory before the work is saved back to qvd, he/she is going to overwrite the other person's input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; So it seems that it is crucial that I break this down into the smallest possible time_intervals (to minimize the risk of&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overlaps)&lt;/P&gt;&lt;P&gt;=&amp;gt; When one person has completed his/her work on one specific record, regardless whether he/she is going to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; process another record or not, the existing qvd should be loaded, with a number of IF() clauses in the LOAD to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consider any potential edits to fields.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; The existing table in memory has to be dropped immediately (or potentially even before reloading the qvd) to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avoid any synthetic keys;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; The table then has to be immediately stored back to qvd, regardless whether another record is going to be&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processed or not.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if it is, that will imply another reload of the qvd, so any data input by another person will become visible).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 10:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874585#M305445</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T10:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874586#M305446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is one of the main-reasons to use a real database which have an inbuild lock-feature if someone accessed a record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could build a logic to lock the qvd per windows filesystem by opening the qvd in another task or move it to a temp-folder and the store-routines includes various checks if the qvd is available and/or delay a new store or or .... and inform the user what happens. This will be very difficult and have always a remaining risk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 10:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874586#M305446</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874587#M305447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're right. But, as I said, never will two persons enter different info into the same field.&lt;/P&gt;&lt;P&gt;Firstly, different persons will have different roles and thus different privileges (to view/ edit different fields);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By refreshing the in-memory table from the qvd and updating it and immediately storing it again - all that should be triggered by the "update" button - I minimize the time window where I have a potential for two peoples' work getting into conflict - only if two persons click on "update" in the same split-second there will be trouble - most probably the qvw will generate some error then. But that is very improbable.&lt;/P&gt;&lt;P&gt;That is my idea &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; I haven't tried it yet. i am going to now.&lt;/P&gt;&lt;P&gt;=&amp;gt; Then I would need three different ways of reloading:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - loading a new masterfile and appending any new records (if there are any) to the existing database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - reloading the existing database (qvd) without updating&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - updating the existing database (qvd) with additions to one record.&lt;/P&gt;&lt;P&gt;I'll keep you posted.&lt;/P&gt;&lt;P&gt;Off goes the Lucy &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 11:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874587#M305447</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T11:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874588#M305448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm ... I am still having that issue that, after the script has finished and the button OK is already available, it takes a while before I can do anything.&lt;/P&gt;&lt;P&gt;So it wasn't due to the partial reload, I have completely abandoned that approach for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 12:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874588#M305448</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T12:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874589#M305449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah .- I have unticked the checkbox to "close (the execution_window) after finishing" - so it might be that, while that window still remains open, the script is already finished and one or other of the objects I have on the GUI takes so long to recalculate.&lt;/P&gt;&lt;P&gt;I can't really imagine which one, they are not so complicated, but it's a new assumption to test ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 12:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874589#M305449</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T12:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874590#M305450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have solved the riddle - no, I haven't, it just disappeared ... dropped into the gap between two lines of code, I suppose &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a challenge for the QlikView_experts to explain:&lt;/P&gt;&lt;P&gt;I again ticked the checkbox to close the script_execution_window after execution - and my issue is gone. Now the whole process takes about 1sec and I have no turning_cursor_alias_hourglass, but I can immediately do something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only drawback is, I now have to actually look into the log to see the TRACE statements and thus tell which code was executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that the basic function is working, I can focus on adding more fields - and loading the matrix of privileges (who can read and/or edit what field(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your good will and perseverance to help!&lt;/P&gt;&lt;P&gt;Of course, I'm far from done, but I'll open a new thread for any new issues.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 13:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874590#M305450</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-05T13:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Simple LOAD - taking too long ...</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874591#M305451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe it's an option for you to open the log-file automatically after a reload is (nearly) finished. Have a look here &lt;A href="https://community.qlik.com/message/752246"&gt;Re: Is that Possible to Specify Path of the "Generate Logfile"?&lt;/A&gt; to a routine which moved log-files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 13:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-LOAD-taking-too-long/m-p/874591#M305451</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T13:20:32Z</dc:date>
    </item>
  </channel>
</rss>

