Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decomposing a field separated by comma
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01524156
Message ID:
01524158
Vues:
124
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>How can I get a field as:
>
>DISK1, PT2, KL9...
>
>And decompose it in separate variable, for inserting its values, say, in new records of another table,
>as below:
>
>
>DISK1
>PT2
>KL9...
>
>
>Moises

for x=1 to getwordcount(lcString,",")
GetWordNum(lcString,x,",")
endfor

or

Alines(laLine,lcExpression,0,",")
Brandon Harker
Sebae Data Solutions
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform