Dear Chester1,
I know nothing about your form !!,but I'll try to help you as much as possible
create a text box on the main form and write the following function in the
Controlsource property:
=DCount("*", "[tablename]", "[field] = 'Chester' and [time] = #09:00#
And [Date] = #" & txtDate & "#")
Assuming that :
Tablename = the name of the table
field= the name of the field that you'd like to count
'Chester' =the specific data that you'd like to count
time=the name of a field that contains a time value
Then create a text box on the subform to refer to the one that you created
on the main form ,it can be like this

n the event 'OnCurrent' and write
this function:
[Forms]![Formname].[Form].[textbox1]=[text box2]
Assuming that : Formname= form name
textbox1= the name of the text box on the subform
textbox2= the name of the text box on the main form
Chester1 said:
Please could you point me in the right direction on how to do this as I have
not used many functions before in access.