Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help: Syntax Error in VFP9
Message
From
12/05/2009 11:06:20
 
 
To
12/05/2009 10:26:40
John King
Integrated Technologies Group
Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01399390
Message ID:
01399404
Views:
58
>Thanks ahead of time for the help. I am converting a VFP6 app to a VFP9 app and this SQL Select statement gives an error -> "SQL: GROUP BY clause is missing or invalid."
>
>This is the code.
>
>
>
>IF llDifObjName
> SELECT ;
> PADR(ALLTRIM(mLibPath)+ALLTRIM(cLibName),254) AS LibName, ;
> cClassName, ;
> cObjName, ;
> MAX(tLastUpdt) ;
> FROM ;
> (this.cRegistryName) ;
> WHERE ;
> UPPER(cProdName) ** "SYSTEM RECORD" AND ;
> NOT DELETED() ;
> GROUP BY ;
> cProdName ;
> INTO ARRAY laLibList
ENDIF && WAS MISSING
>The ** is greater than less than symbols. Email won't send them!!!
>
>I have tried several ways to rearrange the Select statements order and such but it still blows when I run the app. Any Ideas?
>
>Thanks,
>
>John King
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform