Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm just trying to add last week values using this current week variable. As I need pervious or last week values using this current week variable . Can anyone help me with this request .
LET vCurrentWeek = Chr(39) & PEEK('Fiscal Week',0,temp_Calendar2) & Chr(39);
Just try this
vCurWeek : =WeekName(Today());
vLastWeek : =WeekName(Today()-7);
using this variable I need Last week
LET vCurrentWeek = Chr(39) & PEEK('Fiscal Week',0,temp_Calendar2) & Chr(39);
Output = 2022 week24
I tryed with this LET vCurrentWeek = Chr(39) & PEEK('Fiscal Week',0,temp_Calendar2)-1 & Chr(39); (Not working)
Output = Empty
can u try like below..
LET vCurrentWeek = Chr(39) & PEEK('Fiscal Week',1,temp_Calendar2)-1 & Chr(39);
LET vCurrentWeek = Chr(39) & PEEK('Fiscal Week',1,temp_Calendar2)-1 & Chr(39);
for this its showing empty value