hi all.
actually i wanna ask about how to build calculation program using vb. the page need user to give input of good price, then when the user click on the button calculate, the program will add all the price and will display the answer.
i hope somebody can give me some coding example about calculation in vb.
tq
ok...erm actually before the i want to do calculation, i need user to give and input to database. the user need to give input of area of plantation. as example if they give 1 hectar, the value of 1 hectar will bring forward to calculation page. the database i have setting my own knowledge base, for calculation formula. as example
if 1 hectar plantation the price of the seeding $10, price of rouging $40 and price of harvest $ 30.
so if the user give input of 3 hectar, all the value must be multiple with 3 then all the value wil be add to get total cost of plantation.
the problem now i dont know how to link to access database and bring the value into the calculation formula.
I have attached a simple little project that will do the calculations you stated. It does not use a database, but maybe you can get some ideas from it.
You just enter the number of hectars and click calculate and it gives you the seeding costs, roughing costs, and harvest costs. It also give the total of all costs.
You could also make a project that would use a database, but like Hack said, you need to state what part you are having a problem with.