how can I count, in script, weeks in a data range, considering that I can have different years?
If EndDate and StartDate are weeks, I cannot do something like this because I have different years, so I can have week #3 twice, for 2012 and 2013.
weekend('$(EndDate)' - Recno() +1) as DATA_GIACENZA
AutoGenerate( '$(EndDate)' - '$(StartDate)');
How can I do that?
Thanks a lot!