Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group By error
Message
From
18/11/2004 05:22:13
 
 
To
18/11/2004 05:11:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00962514
Message ID:
00962519
Views:
12
With VFP8 Microsoft decided to follow the ANSI standard for SQL more closely, which ment that they had to change the syntax so that some syntax which in earlier versions should not work, but which worked anyway, often with wrong results, does not work with VFP8. Read about Behavior Changes Since Visual FoxPro 7.0 in help, and SET ENGINEBEHAVIOR. I strongly suggest that you change your select statements to comply with the correct VFP8 syntax.

>Hi
>
>I am porting my applications in VFP8 from VFP6, there is somethig strange in SQL syntax using Group By that seem does not work also usin Query designer here is an simple example
>
>
>SELECT Loglav.clavcod, Loglav.ccolcod, Loglav.cpiacod, Loglav.cparcod;
> FROM loglav;
> GROUP BY Loglav.clavcod
>
>
>This code generate an error "SQL Group By Clause is missing or invalid"
>
>Any idea how to solve ?
>
>Thank you
>Luigi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform