Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
with the following script I split a huge big table in a small QVD per year-month
Dates:
LOAD DISTINCT
Year, Month
RESIDENT Calendrier;
LET vNoOfMthsYrs = NoOfRows('Dates');
FOR i = 0 TO $(vNoOfMthsYrs) - 1
LET vMth = PEEK('MONTH', $(i), 'Dates');
LET vYr = PEEK('YEAR', $(i), 'Dates');
MONTHLYSPLIT:
LOAD
* RESIDENT Vente WHERE MONTH( [Date Time]) = '$(vMth)' AND YEAR( [Date Time]) = '$(vYr)';
STORE MONTHSPLIT INTO E:\QVD\QVD\Vente_$(vMth)_$(vYr).qvd (qvd);
NEXT
drop table MONTHLYSPLIT ,Dates;
How could I read loop successively over qvd that I ready created ?
jaweher89 wrote:
How could I read loop successively over qvd that I ready created ?
Not sure I understand your question.
Try:
- Marcus