Works in VFP6 but not in VFP 8

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Walter Graff (WalterGraff_at_discussions.microsoft.com)
Date: 02/24/05


Date: Thu, 24 Feb 2005 15:29:04 -0800

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: visual foxpro crashes
    ... Microsoft FoxPro Technical Support ... Keep an eye on the product lifecycle for Visual FoxPro here: ... progam that uses data from VFP is a dos based C program. ...
    (microsoft.public.fox.vfp.dbc)
  • Re: VFP 10
    ... Hier handelt es sich zwar nicht um eine Entwicklungssprache als solches, aber es bietet seit neuestem die Möglichkeit VFP Tabellen - auch Version 9 - direkt anzusprechen. ... "I've put together a short screencast for FoxPro users who are curious about Advantage, but don't know where to start. ... Die Zugriffskomponenten sind wie der lokal Server kostenlos, ...
    (microsoft.public.de.fox)
  • Re: Start-Programm
    ... Foxpro diese wieder aus- ... Systemvariable _STARTUP, welche beim Start der VFP IDE automatisch ... ON PAD UtilPad OF _MSYSMENU ACTIVATE POPUP Utils ...
    (microsoft.public.de.fox)
  • Re: FPW on a 3.0GHz P4 - will it work?
    ... Have you tried posting this in the FoxPro 2.x discussion section of the VFP ... >machines and consistently gives the out of memory errors on machines faster ... >upgrading to XP is expensive and breaks too many of our current apps. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: VFP 10
    ... Sybase ist auch sehr um VFP Anwender bemüht ... "I've put together a short screencast for FoxPro users who are curious about Advantage, but don't know where to start. ... Die Zugriffskomponenten sind wie der lokal Server kostenlos, ... zumindest solange noch 32-Bit Applikationen in Windows unterstützt werden. ...
    (microsoft.public.de.fox)