Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Group by query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00355597
Message ID:
00356089
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform