query expr

mkelly

Registered User.
Local time
Yesterday, 22:28
Joined
Apr 10, 2002
Messages
213
I have an expression in a query that I want to give a value of 1 if true.
the exp is:
([targeted completion date]<[time job completed])=1

However the only thing it returns is a 0
what am I doing wrong???
 
Expressions involving the relational operators ALWAYS return True or False anyway. Skip the "=1" part. By the way, True might be -1, not +1. If I remembered that correctly, then there is never a time when a relational operation returns a value of +1, so the "=1" part is guaranteed to always be False, which IS 0 for Access. (That one, I remember!)
 
thanks for the help
 

Users who are viewing this thread

Back
Top Bottom