Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Attached is one of my solutions for a similar issue with QVD files.
It compares what's been loaded with what was expected and gives you a 'Missing Files' report.
Should point you in the right direction.
Hope that helps,
Matt - Visual Analytics Ltd
Hi,
thanks for the file. I was thinking more of a loop, something like this pseudocode:
x = 01.01.2008;
x = x + 1;
if (x not exists) { push x into a variable;}
In the end of this loop, i have a variable like this example: x = { 01.03.2008, 03.03.2008, 05.03.2008...}
Can somebody help me to realize this in that way ? Thank you !
Hi,
Here's a part of a solution that I was looking for. The next step is to check it for completeness. Any idea ?
Thank for any help !
Regards
LET vDateMin = Num(MakeDate(2000,1,1));
LET vDateMax = Floor(YearEnd(AddMonths(Today(), 12)));
LET vDateToday = Num(Today());
TempCalendar:
LOAD
$(vDateMin) + RowNo() - 1 AS DateNumber,
Date($(vDateMin) + RowNo() - 1) AS TempDate
AUTOGENERATE 1
WHILE $(vDateMin)+IterNo()-1<= $(vDateMax);
MasterCalendar:
LOAD
TempDate AS CalendarDate,
Day(TempDate) AS CalendarDay,
WeekDay(TempDate) AS CalendarWeekDay,
Week(TempDate) AS CalendarWeek,
Month(TempDate) AS CalendarMonth,
Year(TempDate) AS CalendarYear,
'Q' & Ceil(Month(TempDate)/3) AS CalendarQuarter,
WeekDay(TempDate) & '-' & Year(TempDate) AS CalendarWeekAndYear,
Month(TempDate) & '-' & Year(TempDate) AS CalendarMonthAndYear
RESIDENT TempCalendar ORDER BY TempDate ASC;
DROP TABLE TempCalendar;
LET vDateMin = Num(MakeDate(2000,1,1));
LET vDateMax = Floor(YearEnd(AddMonths(Today(), 12)));
LET vDateToday = Num(Today());