Hola Vampiro_MABM.
No soy experto en Paradox, sin embargo en este artículo:
SQL: Using the SUBSTRING Function, se menciona:
Cita:
As the SUBSTRING function is not supported at all by IB or LIBS databases, it is not possible to have a substring operation in the column list of a query (exception: IB can do sub-strings via User-Defined Functions).
But through use of the LIKE operator and the accompanying character substitution marker, it is possible to effect a sub-string in a WHERE clause. For example, using the sample table EMPLOYEE (in the EMPLOYEE.GDB database)
|
Creo que en este caso el problema se produce por que cuando usas la columna CLV_UBICA como argumento de la función SUBSTRING,
Paradox la promueve como expresión, de allí el mensaje de error:
Cita:
Expresions in group by are not suported
|
También te podría resultar interesante leer este enlace:
Query con SUBSTRING y GROUP BY
Saludos