Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM in indexes
Message
 
À
27/09/1998 09:00:31
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00138923
Message ID:
00141252
Vues:
37
>We may put this as a rule. I've found a workaround to achieve the listing by AllTrim(first)+' '+AllTrim(second):
>
>index on first - (' '+second) tag whatever

I think this tag would give incorrect results if either the first or last name contained spaces. For example:

Van, Jim
Van Deusen, Jim

would sort as

VAN DEUSEN JIM
VAN JIM

However, perhaps using a different delimiter than a space would work. I wouldn't bother, if the value is going to get padded out to the full lengths of the constituent fields anyway.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform