Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL COUNT() Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL COUNT() Problem
Miscellaneous
Thread ID:
01097166
Message ID:
01097166
Views:
52
This query is working in the last version of the app. It now throws the error:
"SQL: Column 'GROUPING' is not found."

I am running both the previous version and the new one in VFP9.
SET ENGINEBEHAVIOR 70

SELECT StatName, ;
  ShowTitl, ;
  ClientId, ;
  TTOD(WeekDate) AS WeekOf,;
  SUM(Gross) AS Gross,;
  SUM(DStat_Net) AS DStat_Net,;
  StatName + ShowTitl AS Grouping,;
  COUNT(Grouping) AS Quantity;
 FROM Results;
 GROUP BY StatName, ShowTitl, WeekOf;
 INTO TABLE Results2
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform