Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding values...& store them
Message
From
09/01/2003 14:08:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Adding values...& store them
Miscellaneous
Thread ID:
00739936
Message ID:
00739936
Views:
60
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
Map
View

Click here to load this message in the networking platform