M
macroapa
Hi,
I have a database which hold times in the format hh:mm:ss
I want to count up the number of times greater than a set time (ie
count all the instances after 10am).
My database (for testing purposes) has 2 records, one with 10:00:00
and one with 12:30:00
my sql is:
(-Sum(Format(Prep.TimeOfInterviewL1,"hh:mm:ss")>"10:00:00")) AS
TimeOfAppt_10am
but when I run it, it only finds the one record and not 2.
I would appreciate it if someone can point me in the errors I have
made.
Thanks.
I have a database which hold times in the format hh:mm:ss
I want to count up the number of times greater than a set time (ie
count all the instances after 10am).
My database (for testing purposes) has 2 records, one with 10:00:00
and one with 12:30:00
my sql is:
(-Sum(Format(Prep.TimeOfInterviewL1,"hh:mm:ss")>"10:00:00")) AS
TimeOfAppt_10am
but when I run it, it only finds the one record and not 2.
I would appreciate it if someone can point me in the errors I have
made.
Thanks.