I have a continuous form which displays contacts (private pupils, as I run my own music tuition business) from the contact table. There is another table which links to the contact table which stores the contacts lesson history and whether or not they attended those lessons.
I want to work out the attendance of each contact with a click of a button. I have used the dcount function to count attended lessons then divided by all their lessons (regardless of attended or not) and times by 100 to get my attendance percentage, which works great.... But here is the problem....
It only returns the attendance percentage of the first contact on the form. Is there anyway it can loop through each contact to do all the contacts so I can see each persons attendance record?
If anyone can help or suggest an alternative I would be extremely grateful.
I want to work out the attendance of each contact with a click of a button. I have used the dcount function to count attended lessons then divided by all their lessons (regardless of attended or not) and times by 100 to get my attendance percentage, which works great.... But here is the problem....
It only returns the attendance percentage of the first contact on the form. Is there anyway it can loop through each contact to do all the contacts so I can see each persons attendance record?
If anyone can help or suggest an alternative I would be extremely grateful.