Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Splitting names
Message
 
À
26/08/2002 08:26:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00693400
Message ID:
00693701
Vues:
21
Glad to help
Jaime

>Thanks. That did exactly what I needed. I don't use VFP as often as I used to so I forget how to do certain things.
>
>Bill
>
>>Bill
>>This will work in any version of Fox.
>>Assuming your field containing the whole name is NAME, and you add two fields to your table, one with LASTNAME and one with FIRSTNAME, just run the following:
>>replace all LASTNAME with left(NAME,at(",",NAME)-1),;
>>            FIRSTNAME with right(NAME,len(NAME)-at(",",NAME))
>>
>>Cheers
>>Jaime
>>
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform