<?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 QVD Period Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-Period-Error/m-p/377865#M140891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I've tried to separate my multibases by QVD Period. Im connecting by from ODBC to Many bases: The bases has the same fields&lt;/P&gt;&lt;P&gt;so Im using aLoad sentence Like this: The first Connection = Abr 2012, The Second Connection May 2012 and so on,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tables:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=VFPOLEDB.1;Data Source=e:\modelos\solventa\tarjetas de credito\datos externos\bases_tc\2012\05_mayo\83 - bata;Mode=Share Deny None;Extended Properties="";User ID="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DSN="";DELETED=True;CODEPAGE=1252;MVCOUNT=16384;ENGINEBEHAVIOR=90;TABLEVALIDATE=3;REFRESH=5;VARCHARMAPPING=False;ANSI=True;REPROCESS=5];&lt;BR /&gt;LOAD *, 'Site1' as Source;&lt;BR /&gt;LOAD &lt;BR /&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM Table1&lt;BR /&gt;Where Field1 = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=VFPOLEDB.1;Data Source=e:\modelos\solventa\tarjetas de credito\datos externos\bases_tc\2012\05_mayo\83 - bata;Mode=Share Deny None;Extended Properties="";User ID="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DSN="";DELETED=True;CODEPAGE=1252;MVCOUNT=16384;ENGINEBEHAVIOR=90;TABLEVALIDATE=3;REFRESH=5;VARCHARMAPPING=False;ANSI=True;REPROCESS=5];&lt;BR /&gt;LOAD *, 'Site2' as Source;&lt;BR /&gt;LOAD &lt;BR /&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM Table1&lt;BR /&gt;Where Field1 = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store Tables Into $(PathProdQvd)Tables.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can save all the register in junst one single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to separe this tables and load singles Qvds by period:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD&amp;nbsp; Distinct Num(Year(Date(Field2,'MMM-YY'))) &amp;amp; Num(Month(Date(Field2,'MMM-YY')),'00') AS Load_Period&lt;BR /&gt;resident Tables;&lt;/P&gt;&lt;P&gt;LET vCount=NoOfRows('Temp');&lt;BR /&gt;FOR i=0 to $(vCount)&lt;BR /&gt;LET vCarga = Peek('Load_Period',$(i),'Temp');&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;V1:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident TablesWhere Num(Year(Date(Field2,'MMM-YY'))) &amp;amp; Num(Month(Date(Field2,'MMM-YY')),'00') = '$(vCarga)';&lt;/P&gt;&lt;P&gt;STORE V1 into $(PathProdQvd)V1$(vCarga).qvd;&lt;/P&gt;&lt;P&gt;DROP Table V1;&lt;/P&gt;&lt;P&gt;Next&lt;BR /&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Noticed that my QVD May has ABR and MAY Together. How can I separate the months by QVDs.&lt;/P&gt;&lt;P&gt;My Actual QVD is V1201204 (But Show Abr and may)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 21:38:38 GMT</pubDate>
    <dc:creator>pgalvezt</dc:creator>
    <dc:date>2012-08-14T21:38:38Z</dc:date>
    <item>
      <title>QVD Period Error</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Period-Error/m-p/377865#M140891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I've tried to separate my multibases by QVD Period. Im connecting by from ODBC to Many bases: The bases has the same fields&lt;/P&gt;&lt;P&gt;so Im using aLoad sentence Like this: The first Connection = Abr 2012, The Second Connection May 2012 and so on,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tables:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=VFPOLEDB.1;Data Source=e:\modelos\solventa\tarjetas de credito\datos externos\bases_tc\2012\05_mayo\83 - bata;Mode=Share Deny None;Extended Properties="";User ID="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DSN="";DELETED=True;CODEPAGE=1252;MVCOUNT=16384;ENGINEBEHAVIOR=90;TABLEVALIDATE=3;REFRESH=5;VARCHARMAPPING=False;ANSI=True;REPROCESS=5];&lt;BR /&gt;LOAD *, 'Site1' as Source;&lt;BR /&gt;LOAD &lt;BR /&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM Table1&lt;BR /&gt;Where Field1 = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=VFPOLEDB.1;Data Source=e:\modelos\solventa\tarjetas de credito\datos externos\bases_tc\2012\05_mayo\83 - bata;Mode=Share Deny None;Extended Properties="";User ID="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DSN="";DELETED=True;CODEPAGE=1252;MVCOUNT=16384;ENGINEBEHAVIOR=90;TABLEVALIDATE=3;REFRESH=5;VARCHARMAPPING=False;ANSI=True;REPROCESS=5];&lt;BR /&gt;LOAD *, 'Site2' as Source;&lt;BR /&gt;LOAD &lt;BR /&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM Table1&lt;BR /&gt;Where Field1 = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store Tables Into $(PathProdQvd)Tables.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can save all the register in junst one single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to separe this tables and load singles Qvds by period:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD&amp;nbsp; Distinct Num(Year(Date(Field2,'MMM-YY'))) &amp;amp; Num(Month(Date(Field2,'MMM-YY')),'00') AS Load_Period&lt;BR /&gt;resident Tables;&lt;/P&gt;&lt;P&gt;LET vCount=NoOfRows('Temp');&lt;BR /&gt;FOR i=0 to $(vCount)&lt;BR /&gt;LET vCarga = Peek('Load_Period',$(i),'Temp');&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;V1:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident TablesWhere Num(Year(Date(Field2,'MMM-YY'))) &amp;amp; Num(Month(Date(Field2,'MMM-YY')),'00') = '$(vCarga)';&lt;/P&gt;&lt;P&gt;STORE V1 into $(PathProdQvd)V1$(vCarga).qvd;&lt;/P&gt;&lt;P&gt;DROP Table V1;&lt;/P&gt;&lt;P&gt;Next&lt;BR /&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Noticed that my QVD May has ABR and MAY Together. How can I separate the months by QVDs.&lt;/P&gt;&lt;P&gt;My Actual QVD is V1201204 (But Show Abr and may)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 21:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Period-Error/m-p/377865#M140891</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-08-14T21:38:38Z</dc:date>
    </item>
  </channel>
</rss>

