Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I made ​​a tuition payment system application in vocational high schools using VB.NET and SQL Server database. I have a problem on the database, please help me create a database with a view Form (Name, Student Identification Number, Department, of Army, monthly fees, Pay per month, description)
I'm confused on Pay, when students want to pay three months at a time, whether the user must enter the data three times ..? If true, what about the database ...?
please, help me to solve this problem.
Posted

1 solution

This would all depend on your requirements. Personally I would create another table altogether for payments, which would include a field for amount paid, and another field for next payment due, and I would link this table to students with the student id.
 
Share this answer
 
Comments
patar sii miaw 11-Mar-12 4:29am    
If so, how will the report?
if the report does not fall apart ..?
Wayne Gaylard 11-Mar-12 4:33am    
Sorry, your question does not make sense, but I assume you mean you want a report from both tables. You will have to create an SQL Join query like "SELECT s.studentid, p.amountpaid, p.nextpaymentdue FROM students s INNER JOIN payments p ON s.studentid = p.studentid" or similar.
patar sii miaw 11-Mar-12 4:41am    
I want to group all in one page report that has. what should i do ...?
Wayne Gaylard 11-Mar-12 4:52am    
I syggest you study up on database design a bit.
patar sii miaw 11-Mar-12 7:09am    
Ok, thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900