Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small .prg slows network
Message
From
14/11/1997 18:06:45
 
 
To
14/11/1997 14:48:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00060184
Message ID:
00060382
Views:
33
>>
>>Larry- I think what you are trying to do can be accomplished with one statement:
>>
>>SELECT count(*), distinct *;
>>FROM masterfile;
>>INTO CURSOR countfile;
>>WHERE inactive "Y";
>>GROUP BY agegrp, district
>>
>>This doesn't directly apply to your question, but could possibly reduce the time it takes to create your countfile table.
>
>But the index is agegrp+district. Grouping this way works in the same way as that index would?

The group by essentially says (in pseudo-english) "create new total record when agegrp AND district change", therefore the index WILL work. Besides, you can't group by agegrp+district....at least I've never gotten it to do it.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform