2211 CONTAINS(*) not allowed in GROUP BY statement

Advantage Error Guide

Problem: A SELECT statement with a GROUP BY clause contained the scalar function CONTAINS with the "all columns" wild card (*) as the first parameter.

Solution: When appearing in a statement with a GROUP BY clause, the CONTAINS scalar function can only be of the form where the first parameter is an explicit field name. It cannot use the * (all columns) operator.