Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group by
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Group by
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00974218
Message ID:
00974218
Vues:
62
Hi

I am encountering "GROUP BY clause is missing or Invalid" errors using VFP9 (haven't tried VFP 8) in the following code.
SELECT cnt(wo_itemno) as items, i_key, t_key, contractor ;
	FROM v_woitems ;
	INTO CURSOR tWoinvcont ;
	ORDER BY t_key ;
	GROUP BY t_key
If I "SET ENGINEBEHAVIOR 70" the problem disappears.

The same occurs when I create a query using the default SET ENGINEBEHAVIOR 90. It appears that this may be because I am doing a select on a view.

Could someone point me to where I can find what has changed and how I create the same cursor using
SET ENGINEBEHAVIOR 90.

Regards
Geoff Scott
May all your weeds be wildflowers
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform