Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Error
Message
 
 
To
19/05/2006 10:48:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01123575
Message ID:
01123576
Views:
20
>This error is being generated
>
>SQL: GROUP BY clause is missing or invalid
>
>By this code
>
>Select Max(opseq) As opseq, wkctr, opstc From findMOInfoQuery2 Where opstc = '20' InTo Cursor findMOInfoQuery3
>
>Why would this happen?

Your query is invalid. You have to use aggregate functions for all fields in such query or remove fields that are not aggregate.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform