As Mike suggests there is a work around, but the reason it doesn't work by default, is that the VFP team is trying to be more ANSI compliant. When you use a GROUP BY clause, then everything in the field list must either be in the GROUP BY list or be an Aggregate function like COUNT(), SUM(), MIN(), MAX(), etc. Any other field is truly undefined and FoxPro in the past simply gave you an arbitrary value - not even always the first or the last in the current "group". Any other ANSI compliant SQL environment will give you a similar error message.
Rick