G
Guest
hi!
I created a form with the following details for the user to key in.
data1 data2 sum_of_data1_and_data2
data3 data4 sum_of_data3_and_data4
sum of the above
What i'm trying to do here is, user will key in value for
data1,data2,data3,data4.
The sum of data1 and data2, sum of data3 and data4, and sum of the above wil
be calculated automatically. I know how to create the form and database for
user to key in data1,2,3,4 once they click the save button, but i don;t know
how to save the auto calculated sum value into database(i only know how to
display the calculated sum on screen but it's not save into database). Pls
help on this by showing me some sample or simple coding to save the sum
values into database. Thks!
I created a form with the following details for the user to key in.
data1 data2 sum_of_data1_and_data2
data3 data4 sum_of_data3_and_data4
sum of the above
What i'm trying to do here is, user will key in value for
data1,data2,data3,data4.
The sum of data1 and data2, sum of data3 and data4, and sum of the above wil
be calculated automatically. I know how to create the form and database for
user to key in data1,2,3,4 once they click the save button, but i don;t know
how to save the auto calculated sum value into database(i only know how to
display the calculated sum on screen but it's not save into database). Pls
help on this by showing me some sample or simple coding to save the sum
values into database. Thks!