You can also set up two text Controls on your main form with the following Control Source.
This one returns the number of lessons
=DCount("LessonID","tblLesson","[ClientID] = " & [ClientID])
This one returns the balance owed by the client
=DSum("LessonCost","tblLesson","[ClientID] = " &...