Solved Where is wrong in this small query?

Ashfaque

Search Beautiful Girls from your town for night
Local time
Today, 11:01
Joined
Sep 6, 2004
Messages
897
I am fetching up some records in a subform thru a query:

Code:
SELECT T_JobOffer.CNo, T_JobOffer.CDept, T_JobOffer.CName, T_JobOffer.CLastWorkingDate
FROM T_JobOffer
WHERE (((T_JobOffer.CNo)<>IsEmpty("Cno")) AND ((T_JobOffer.CDept)=[forms]![F_SaudizationPercent]![TxtDeptEmp]) AND ((T_JobOffer.CLastWorkingDate)<>IsMissing([CLastWorkingDate])));

It is working properly and producing list of employees who has left the company because their CLastWorkingDate is entered.

But when I want those who are currently present in the company means their CLastWorkingDate is null, it is not working. It tried just removing <> that I mentioned before IsMissing([CLastWorkingDate]) condition.

Is there any other way?
 
It solved...I just tried with "Is Null" and not used IsNull which appeares in SQL design and worked...

Thanks,
 

Users who are viewing this thread

Back
Top Bottom