Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Group by query
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00355597
Message ID:
00356089
Views:
15
>Larry, thanks for your reply.
>
>I also need records , where there may be only one blank fld2 entry, so I dont think below will work.
>I got another reply on this thread which suggested using Max(fld2) whicj I think may work.. I'll give it a try.
>
>Regards,
>
>Gerard
>
If the values in fld2 are always going to be the same for each value in fld1 (i.e. AA corresponds to Widgets) then MAX will work. If there are going to be different values for the same value in fld1 (i.e. AA could have Diamonds or Widgets) then MAX will not work.

MAX will return the largets value in terms of ASCII value. This means that words that start with Z are larger than words that start with Y and so on. Also, capital letters are larger than lower case letters.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform