help rewriting this query

icemonster

Registered User.
Local time
Today, 08:58
Joined
Jan 30, 2010
Messages
502
hello. basically what i am trying to do here is that if the date is not equal to current date, reset count or something to that effect.

Code:
 (Select count(*) from [qry_01] where [id_employee] = a.[id_employee] and [datex]+[timex] <= a.[datex]+a.[timex])
 
Hello icemonster.. I am sorry but I do not follow you.. You cannot "reset the count", it is a function's return value that is obtained by the condition you have provided.. In simple words, with some examples could you explain what is that you are doing?
 

Users who are viewing this thread

Back
Top Bottom