Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF in Select
Message
 
 
To
24/11/1998 15:46:19
Carl Sarazin
Statistics Canada
Ottawa, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00161059
Message ID:
00161112
Views:
27
Carl,

You can use int(field/10) as nGroup to get that kind of grouping.

>That would give me the number of occurences by grouping. Unfortunately it's a little more than that. What we're trying to do is (within one statement) get conditional counts for ranges. For instance, one count if the field is from 0 - 9, another if 10 - 19, etc. without having to generate a grouping indicator in advance. Ultimately we are trying to create a report with columns meeting certain criteria.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform