<?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: qvd file without information in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135688#M757019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you look variables and share screenshot of those variables calling in text box. Because, The script fine for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2018 02:26:18 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-09-19T02:26:18Z</dc:date>
    <item>
      <title>qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135677#M757008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;I have the following script, &lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;it works without errors, but it doesn't return any data. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;Basically, &lt;SPAN lang="en"&gt;I connect to an MS Access query&lt;/SPAN&gt; and define a Start Date and an End Date to bring information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;the result of the log is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Connecting to MS Access Database;DBQ=C:\Users\Alexis\Desktop\Qlik\base de datos\Trx.accdb&lt;/P&gt;&lt;P&gt;Connected&lt;/P&gt;&lt;P&gt;trx &amp;lt;&amp;lt; 021_Trx_Totales 0 Lines fetched&lt;/P&gt;&lt;P&gt;--- Ejecución de Script finalizada --- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;I hope someone can help me. Thank you...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFechaInicioCarga = date(date#(01072018, 'DDMMYYYY'), 'DD-MM-YYYY');&lt;/P&gt;&lt;P&gt;LET vFechaFinCarga = date(MonthEnd(vFechaInicioCarga),'DD-MM-YYYY');&lt;/P&gt;&lt;P&gt;LET vPeriodoCarga = num#(date(vFechaInicioCarga, 'YYYYMM'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [MS Access Database;DBQ=C:\Users\Alexis\Desktop\Qlik\base de datos\Trx.accdb];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;trx:&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fecha,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; generico,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sentido,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; servicio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "tipo_dia",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Trx_Totales",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unidad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; variante&lt;/P&gt;&lt;P&gt;FROM "021_Trx_Totales"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where fecha &amp;gt;=$(vFechaInicioCarga) and fecha &amp;lt;=$(vFechaFinCarga);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE trx into [&lt;SPAN style="font-size: 13.3333px;"&gt;..\&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Qlik\transacciones_$(vPeriodoCarga).qvd];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table trx;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135677#M757008</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135678#M757009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It must be related to your conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it with just the &amp;gt;= and then with the &amp;lt;= and see what happens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 03:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135678#M757009</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2018-09-18T03:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135679#M757010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe to put apostrophes &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where fecha &amp;gt;='$(vFechaInicioCarga)' and fecha &amp;lt;='$(vFechaFinCarga)'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 03:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135679#M757010</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-09-18T03:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135680#M757011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;fecha&lt;/STRONG&gt; field is in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DD-MM-YYYY&lt;/STRONG&gt; this format ??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 04:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135680#M757011</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-09-18T04:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135681#M757012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here some checks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. does it works without this row? &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where fecha &amp;gt;=$(vFechaInicioCarga) and fecha &amp;lt;=$(vFechaFinCarga);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2. on the title you are saying "qvd without data": before the store&amp;nbsp; you have date in your .qvw ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;3. if the answer to 2. is "yes": did you try to append (qvd) to the store? &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STORE trx into &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;..\&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qlik\transacciones_$(vPeriodoCarga).qvd (qvd);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Let us know&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;S.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135681#M757012</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2018-09-18T14:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135682#M757013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;just using where f&lt;/SPAN&gt;echa &amp;gt;=$(vFechaInicioCarga)&amp;nbsp; &lt;SPAN lang="en"&gt;save all the information of the query in the qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;just using where fecha &amp;lt;=$(vFechaFinCarga)&amp;nbsp; &lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;does not save anything in the qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135682#M757013</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2018-09-18T14:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135683#M757014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;using apostrophes the following error appears&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC error&lt;/P&gt;&lt;P&gt;Connector reply error: SQL##f - SqlState: 22005, ErrorCode: 4294964266, ErrorMsg: [Microsoft][Controlador ODBC Microsoft Access] No coinciden los tipos de datos en la expresión de criterios.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135683#M757014</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2018-09-18T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135684#M757015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;Yes, it is the format used in Chile&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135684#M757015</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2018-09-18T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135685#M757016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the values stored in the field "fecha" are in the form DD-MM-YYYY and defined as a date field in the RDBMS you will then need to use SQL date functions to compare, or do it in the LOAD part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they instead are defined as literals or strings, then you do need to use single or double quotes Chr(39) or Chr(34) respectively, and use the Text() function in your variables, so the value is stored as a string. Else, according to your script $(vFechaInicioCarga) = -2024 (1 - 7 - 2018). This will work though if you use SET instead of LET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like that WHERE clause is comparing numbers to strings, which happens to be always false, and that's why you get no data or that "fecha" is indeed numeric but the variables are using a different format, like "-2024" instead of "01-07-2018".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135685#M757016</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-09-18T14:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135686#M757017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I remember correctly, MS Access expects Date values to be formatted as &lt;SPAN style="font-family: 'courier new', courier;"&gt;#18/09/2018#&lt;/SPAN&gt; (including the hashes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See: &lt;A href="https://support.office.com/en-us/article/Examples-of-using-dates-as-criteria-in-Access-queries-AEA83B3B-46EB-43DD-8689-5FC961F21762#__toc358028377" title="https://support.office.com/en-us/article/Examples-of-using-dates-as-criteria-in-Access-queries-AEA83B3B-46EB-43DD-8689-5FC961F21762#__toc358028377"&gt;Examples of using dates as criteria in Access queries - Access&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135686#M757017</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-09-18T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135687#M757018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;The script doesn't work, please someone can look at the qvw file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;The result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Connecting to MS Access Database;DBQ=C:\Users\Alexis\Desktop\Qlik\base de datos\Transacciones bus y ZP.accdb&lt;/P&gt;&lt;P&gt;Connected&lt;/P&gt;&lt;P&gt;transacciones &amp;lt;&amp;lt; 021_Trx_Totales_sin_nulo &lt;STRONG&gt;0 Lines fetched&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 00:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135687#M757018</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2018-09-19T00:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135688#M757019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you look variables and share screenshot of those variables calling in text box. Because, The script fine for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 02:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135688#M757019</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-09-19T02:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135689#M757020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;did you try to apply the suggestione we gave you?&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 06:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135689#M757020</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2018-09-19T06:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135690#M757021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;Yes, I applied &lt;STRONG&gt;Set&lt;/STRONG&gt; instead of &lt;STRONG&gt;Let,&lt;/STRONG&gt; &lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;the following error appears:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ODBC error&lt;/P&gt;&lt;P&gt;Connector reply error: SQL##f - SqlState: 37000, ErrorCode: 4294964196, ErrorMsg: [Microsoft][Controlador ODBC Microsoft Access] Error de sintaxis en la fecha en la expresión de consulta 'fecha &amp;gt;=date(date#(01072018, 'DDMMYYYY'),'DD-MM-YYYY') and fecha &amp;lt;=date(MonthEnd(vFechaInicioCarga),'DD-MM-YYYY')'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 10pt;"&gt;Where should I add &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;# characters around dates? &lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;In the definition of variables? &lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;I'm confused&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SET vFechaInicioCarga = date(date#(01072018, 'DDMMYYYY'),'DD-MM-YYYY');&lt;/P&gt;&lt;P&gt;SET vFechaFinCarga = date(MonthEnd(vFechaInicioCarga),'DD-MM-YYYY');&lt;/P&gt;&lt;P&gt;SET vPeriodoCarga = num#(date(vFechaInicioCarga, 'YYYYMM'));&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 16:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135690#M757021</guid>
      <dc:creator>ale_nilo84</dc:creator>
      <dc:date>2018-09-19T16:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: qvd file without information</title>
      <link>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135691#M757022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A SQL statement is - after all $-sign substitution - sent &lt;EM&gt;AS-IS&lt;/EM&gt; to the external SQL engine (in this case a Jet-engine from MS Access) to be decoded and executed. So the hashes can be added wherever you want. The most simple solution is to add them to the SQL statement itself, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SQL SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM "021_Trx_Totales"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE fecha &amp;gt;= &lt;STRONG style=": ; color: #ff0000;"&gt;#&lt;/STRONG&gt;$(vFechaInicioCarga)&lt;STRONG style=": ; color: #ff0000;"&gt;#&lt;/STRONG&gt; AND fecha &amp;lt;= &lt;STRONG style=": ; color: #ff0000;"&gt;#&lt;/STRONG&gt;$(vFechaFinCarga)&lt;STRONG style=": ; color: #ff0000;"&gt;#&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 07:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qvd-file-without-information/m-p/135691#M757022</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-09-20T07:24:05Z</dc:date>
    </item>
  </channel>
</rss>

