Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I summarize fields in my view by Grouping?
Message
From
28/09/1999 18:05:25
 
 
To
28/09/1999 18:03:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00270261
Message ID:
00270263
Views:
26
>I have created a view that I would like to have be just a summary table. How do I get my numeric field to be a summary of all the records that I have grouped? Thanks in advance!

Select SUM(myfield) As mysumfield From mytable Group by fieldX

BTW, there is no necessity to use view for summarization, you may better use plain cursor.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform