TonyScarpelli
Programmer
With this sql code I am getting an error:
SELECT accntnum, datefrom, dateto, type, hours, SUM(hours);
FROM Overtime ;
WHERE datefrom BETWEEN gdstart AND gdend ;
GROUP BY type ;
ORDER BY type ;
INTO CURSOR TYPETOTL
SQL: GROUP BY clause is missing or invalid
Can any tell me why this code, which worked in FPW2.6 doesn't work in VFP 9?
Thanks.
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
SELECT accntnum, datefrom, dateto, type, hours, SUM(hours);
FROM Overtime ;
WHERE datefrom BETWEEN gdstart AND gdend ;
GROUP BY type ;
ORDER BY type ;
INTO CURSOR TYPETOTL
SQL: GROUP BY clause is missing or invalid
Can any tell me why this code, which worked in FPW2.6 doesn't work in VFP 9?
Thanks.
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102