If you have tblPayments as I suggested, summarizing payments by enrollmentID or StudentID or ClassID should be simple. That's what reports are for.