Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum numbers in a field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01569439
Message ID:
01569440
Views:
88
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform