Answers in line:
srikanth said:
I apology for writing in caps. Dear frnd, I have linked up 3 tables: fees
mater table, student master, receipt master. The main form is student master
and receipt table being the subform. We collect fees in 2 terms. when i
update the fees collected the balance amount has to be updated and if any
balances still has to be carried forward to the 2nd term. how do I write the
code for generating the fees in two terms.
You don't really need code. Use an Append query instead something like:
INSERT INTO [Fees Master] ( [StudentID], Amount )
SELECT [StudentID], CCur(100) AS Fee
FROM [Student Master];
That will add a record of $100 for each student in the Strudent Master
table.
I want :
1) send statement of accounts - like the fees to be paid,
After you add the fees to the table, run a report based on a query which
will show the new balance due.
2) Generate receipts (a report) for them when they pay
Again, run a report as you enter the paid amount into the field in a form
based on the Fees Master table.
3) Carry foward the balance amount in the 2nd term.
You can use another append query (I prefer this method) or you can build an
Update query to change the existing amount. I'd rather use the Append method
because it allows for new students and drop-out which happen during the
first term or in the interim.
4) Reports of balances, receipts, ledger
Again, write the queries which show the balances, receipts, etc. and base
reports on them.
It will take some effort on your part to learn the program. Understand, that
unless you'd like to hire someone to do it for you, we can only provide
answers to specific questions.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access