You can filter that one on Period Type = Week.
Set what ever filter you need on the Starting Date.
And then loop the appropriate number of times through the dataset, by using the FOR-TO loop, combined with DateRec.NEXT
e.g.
IF DateRec.FINDSET(FALSE;FALSE) THEN
FOR i := 1 TO NumberOfLoops DO BEGIN
DateRec.NEXT;
GlobalVar[i] := DateRec.“Period Name”;
END;
Note that you need to have a big enough number of dimensions defined on GlobalVar.
(This is of course also a limit in the max “counts” you can do)