>What about the rest of the GROUP BY Clause? VFP 9.0 requires everything except for the aggregate functions, right? I will make the change and use the parens.
>
>Thanks,
>
>Cecil
>
>>You can't GROUP BY an expression (LOADING.Order + LOADING.Line).
You still can't group by an expression at all. You'll have to include the expression as a new field, and then use that name or the ordinal field position number.