Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A codding problem
Message
From
27/11/2002 00:24:31
 
 
To
26/11/2002 18:43:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00725057
Message ID:
00727409
Views:
12
Alex

With ThisForm

.txt5.value = Val( .txt1.value ) + Val( .txt2.value ) + Val( .txt3.value ) + Val( .txt4.value )

EndWith

i.e. VAL( Str ) = numeric

However, I think that you are either using the wrong controls for this or the wrong data source types for the controls.

Jos

>
>Man, I have try that but it doesnt seams to work, in the 5 textbox it just add the value of the others like it was a string value, but I want it as a numeric, I want to ADD the values of the previos 4 textboxes and in the 5 I want to add the result by clicking on a button.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform