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.