Is this something that will happen often? You could just create a simple query with criteria being the persons id/number and a date range. Then have a sum function in the value column.
It also depends how you want to input the id / date. Is it going to be the same person every time?
"SELECT Sum(payments) from paymentT where client='" & NameofClient & "' AND TLoan='" & LoanID & "' AND Tdate between #" & startdate & "# AND #" & enddate & "#")"
Is this something that will happen often? You could just create a simple query with criteria being the persons id/number and a date range. Then have a sum function in the value column.
It also depends how you want to input the id / date. Is it going to be the same person every time?
"SELECT Sum(payments) from paymentT where client='" & NameofClient & "' AND TLoan='" & LoanID & "' AND Tdate between #" & startdate & "# AND #" & enddate & "#")"