Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to GROUP BY ....
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01531746
Message ID:
01531751
Views:
41
>Hi Randy,
>
>Try this...
>
>SELECT LEFT(Dtyme,10) AS Dtyme, AVG(DCreading) AS DCreading, ;
>	SPACE(10) AS cDate, SPACE(8) AS cHourMin ;
>FROM CPdata  WHERE RType=[DC] ;
>	GROUP BY LEFT(Dtyme,10), SPACE(10), SPACE(8)  ORDER BY LEFT(Dtyme,10) ;
>	INTO CURSOR CPchart  READWRITE
>
>MartinaJ


I get this error message: SQL: Column '' is not found. Anything other than a field name in the GROUP BY clause seems to trigger this error.
Randy Bosma
VFP - Because life is too short to code in something else...
Previous
Reply
Map
View

Click here to load this message in the networking platform