help on for each

help on for each

Hello everyone, I need to detect the inserted records a day by a single name.

So I have:

Form1 : name
Form2 : name lookup + another field

so ,

for each rec in Form1

And here ... I should tell him to count me the number of records for a single day but I do not know how many are the days ....

Ideas ?