A family of Microsoft relational database management systems designed for ease of use.
Thank you so much to all who came to my rescue , your efforts is highly valued and I mean it . The challenge I have with the Code below is that it does not still stop access from saving un balanced journal:
If Me.TotalDebits <> Me.TotalCredits then
MsgBox "Credits and Debits do not match, please correct!"
Me.subformcontrol.SetFocus
End if
The second suggestion of using un bound form and code Nz(Credit,0)-Nz(Debit,0). , I still have a challenge because the account CODE must be looked up by users otherwise there will be a lot of miss posts again and time consuming. I have also researched other existing normal accounting software they work as follows:
(1) If the debits and credits are not equal then the systems rejects the entire transaction until correction is effected
(2) If the debits and credits are balanced then the journal is accepted and saved temporally until a senior official with authority authorise it , that is when it is moved to the final table and saved permanently
But for me since this is just an assignment I'm only interested on :
(1) If the debits and credits are not equal then the systems rejects the entire transaction until correction is effected
The second point may be it is to complicated for now I will leave it.
Once again thank you so much Ken & Scott, any further help in the issues above will be highly appreciated I'm very sure the above points right now are there in most of the accounting packages either solved or un attended to.
Regards
Chris