Question calculate/update remaining balance

edsel

New member
Joined
Aug 10, 2014
Messages
1
Programming Experience
Beginner
Hello, everyone I'm new here in vb.net forums. I just want to ask for your help/suggestion on how do I keep track of the student payments. Like for ex., if the overall tuition is 12,000 and he/she will pay 5,000, it will compute the remaining balance and that is 7,000 and then the next time again he/she pays, it will update again the remaining balance until he/she finished paying the account. I hope you could help/teach me how to do this. Thank you very much in advance! GOD bless!!!
 
Obviously you need to store the numbers somewhere, with the most likely option being a database. When a student registers you add a record containing the tuition amount. Each time a payment is made you add a record containing that amount. You can calculate the remaining balance when a payment is made and store it somewhere or you can calculate it on the fly, whichever you deem to be more appropriate.
 
Back
Top