Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grouping by weeks
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00201875
Message ID:
00201882
Views:
13
>I want to select a range of records by date and group them by weeks.
>Any suggestions ???

Here is some untested code, but I think you will get the idea...

SELECT week(startdate) as wdate, atable.* ;
FROM atable ;
GROUP by 1 ;
INTO CURSOR cResult
Previous
Reply
Map
View

Click here to load this message in the networking platform