Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum numbers in a field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01569439
Message ID:
01569440
Vues:
87
This message has been marked as the solution to the initial question of the thread.
>Is it easy to sum numbers (characters )separated by comma to variable ?
>
>e.g. "30, 32, 10, 1000," = 1072
>
>I could use a child table to achieve it but I think it would be easy in a unique table.
>
>Moises
m1 = "30, 32, 10, 1000"
m2 = CHRTRAN(m1,",","+")
? &m2
But you should remove last comma first.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform