Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to create master calendar starting from last year to previous month of this year.
any help would be appreciated
FYI...
Sorry, add num() like:
let VMinDate=Num(MakeDate(2014,01,01));
let VMaxDate=Num(MonthStart(Today()));
MasterCalendar:
Load Date($(VMinDate) + RecNo()) as TempDate
AutoGenerate VMaxDate-VMinDate ;
Try like:
let VMinDate=MakeDate(2014,01,01);
let VMaxDate=MonthStart(Today());
MasterCalendar:
Load Date($(VMinDate) + RecNo()) as TempDate
AutoGenerate VMaxDate-VMinDate ;
Hi Tresesco,
i have tried that and iam getting a strange year field like 1905,1906..
Try like:
let VMinDate=Num(MakeDate(2014,01,01));
let VMaxDate=Num(MonthStart(Today()));
MasterCalendar:
Load Date($(VMinDate) + RecNo()) as TempDate
AutoGenerate VMaxDate-VMinDate ;
Sorry, add num() like:
let VMinDate=Num(MakeDate(2014,01,01));
let VMaxDate=Num(MonthStart(Today()));
MasterCalendar:
Load Date($(VMinDate) + RecNo()) as TempDate
AutoGenerate VMaxDate-VMinDate ;
Tq guys...
Hi Sruti,
Try this script
let VMinDate=Num(MakeDate(2014,1,1));
let VMaxDate=Num(MonthStart(Today()));
MasterCalendar:
Load Date($(VMinDate) + RecNo() -1) as TempDate
AUTOGENERATE (Num(Interval(VMaxDate-VMinDate, 'D')));
Regards,
Jagan.