Does anyone know how to get this to work? In a control on a report I want to count the number of records between 10:00:00 and 11:00:00. The field name is [OutageTime]. I do not want to do this in the grouping and sorting because I intend to copy it and use it for every hour.
In the past I have used the following formula in a control to count other conditions as follows:
=Count(IIF([FileNumber])=110,0))
and this works fine!
Can someone modify this formula to get the results I'm looking for:
=Count(IIF(([OutageTime])>="10:00:00"<="10:59:59",0))
Thanks in advance. Brian.
In the past I have used the following formula in a control to count other conditions as follows:
=Count(IIF([FileNumber])=110,0))
and this works fine!
Can someone modify this formula to get the results I'm looking for:
=Count(IIF(([OutageTime])>="10:00:00"<="10:59:59",0))
Thanks in advance. Brian.