Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GROUP BY on expression
Message
From
10/04/2003 02:50:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
GROUP BY on expression
Miscellaneous
Thread ID:
00775899
Message ID:
00775899
Views:
50
This should be quite simple but I can't find how to make that work. I am trying to group by on an expression field such as:
? SQLExec(lnHandle,"SELECT YEAR(AddDate) AS Test FROM News GROUP BY Test")
But, the only GROUP BY clause I can use is on a existing field. How can I GROUP BY on an expression?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform