Re: Works in VFP6 but not in VFP 8

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Nigel Gomm (nigel_at_blahblahblahnigelgomm.ca)
Date: 02/25/05


Date: Thu, 24 Feb 2005 19:29:32 -0500

see set enginebehaviour at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lngset.asp

"Walter Graff" <WalterGraff@discussions.microsoft.com> wrote in message
news:B021AACB-6697-44CB-843C-65721BD83231@microsoft.com...
> The following sql statement works fine in foxpro 2.0 for DOS and VFP 6 but
> when executed in vfp 8 we get an error that group by clause is missing or
> invalid.
>
> Sele artrans.customer As acct,customer.Name,customer.city,
> artrans.Product,
> artrans.location, ;sum(artrans.qty) As tqty, ;
> sum(artrans.qty*artrans.unitprice) As Total From artrans,customer ;
> where artrans.customer = customer.custno And ;
> (artrans.Date >= bdate And artrans.Date <= edate) And;
> artrans.location = mware ;
> group By artrans.customer,artrans.Product ;
> Order By customer.Name Into Cursor ytd
>
> Any ideas would be appreciated.



Relevant Pages

  • Re: Change in SQL commands!
    ... GROUP BY Clause is missing or invalid. ... and if this command is changed, how we can know what record have Max ...
    (microsoft.public.fox.programmer.exchange)
  • SQL: Group By error
    ... SQL: Group By clause is missing or invalid. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Change in SQL commands!
    ... GROUP BY Clause is missing or invalid. ... and if this command is changed, how we can know what record have Max Value! ...
    (microsoft.public.fox.programmer.exchange)
  • Group by error in Select statement
    ... Group by clause is missing or invalid" ... Order_mast.sno GROUP BY order_trn.other_name,Order_trn.uniq_code INTO CURSOR ...
    (microsoft.public.fox.helpwanted)
  • Re: HKEY_LOCAL_MACHINE problem
    ... High Priority: Highlighted value is missing or invalid: ... Restarts often bring up an OS failure, although the automatic repair function takes the computer back to the same slow performing system. ...
    (microsoft.public.windows.vista.performance_maintenance)