General information
Category:
Coding, syntax & commands
Title:
Adding values...& store them
I have this problem for allmost a month...
I have a table, that is call table1...
in this table a have 5 values all numerics: dato1,dato2,dato3,dato4 & prome.
I want to make a form the in went the user introducess values to the dato fiels, they will add and in the prome fiel will display the result and store it...
So far the code I have its like this:
procedure AddTextBoxesToTotal(oform)
with oform
prome.table1.Value=(Text1.table1.Value+Text2.table1.Value;
+Text3.table1.Value+Text4.table1.Value)/4
endwith &&oform
endproc
this is a procedure...
Now I just can get it...
Is there a esear way to get what i want ???
When I do this procedure with out any values of a table its cool, but went I do it with a table it doesnt work.
Can any body help me...
Thanks...
PS: I hate being a newbie
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only