I run a monthly attendance report. It is grouped by staff, then child and finally service. Nothing fancy.
The detail section is a list of dates the child attended and the # of units earned. Again, nothing fancy.
The requirement is now to have the attendance records print out in a table format labeled with the rows labeled 1 to 31 (for each day of the month) If the child had attendance on 4/3, 4/19 and 4/22 then the #3 box would have the date and the number of units. The #19 and #22 box would have data, all other boxes are blank.
I'm open as to method. I realize it probably involves recordsets and loops neither of which I know in access
I imagine 31 text boxes each with a for next loop going through the records and stopping when if finds a record for that date or just leaving the box blank when it reaches the end
but I am truly in the weeds and need help
michael
ps- if you want to play the bonus round, there could be more than one record (as many as 4) for the same date
The detail section is a list of dates the child attended and the # of units earned. Again, nothing fancy.
The requirement is now to have the attendance records print out in a table format labeled with the rows labeled 1 to 31 (for each day of the month) If the child had attendance on 4/3, 4/19 and 4/22 then the #3 box would have the date and the number of units. The #19 and #22 box would have data, all other boxes are blank.
I'm open as to method. I realize it probably involves recordsets and loops neither of which I know in access
I imagine 31 text boxes each with a for next loop going through the records and stopping when if finds a record for that date or just leaving the box blank when it reaches the end
but I am truly in the weeds and need help
michael
ps- if you want to play the bonus round, there could be more than one record (as many as 4) for the same date