Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group by clause in vfp8
Message
From
18/04/2003 16:28:06
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
18/04/2003 16:22:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00774269
Message ID:
00779345
Views:
43
Hi Steve.

You're forgiven.

As to the query, you're correct. Adding extra1 to the group results in 4 records. Leaving it out of the group by will give one record, but how does the computer know what is the "correct" result for the field extra1?

>Please forgive me, I don't have VFP8 yet. Simply adding extra1 to the group causes the query to return 4 records, correct? That's really not an acceptable end result for this type of query.
>
>>
>>In VFP 8 you would have to include extra1 in the group by because the result for extra1 is not clearly known to the computer. All values from extra1 appear to IMO remind you to think about which one you wanted.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform