>>IF !INLIST(CDOW(ldStart+ji),"Saturday","Sunday")
>
>Just for simplicites sake and maybe different languages of VFP,
if DOW(ldStart + ji) > 2
Better yet,
IF DOW(ldStart+ji,2) < 6
to make sure it's using Monday as first day of the week.
Insanity: Doing the same thing over and over and expecting different results.