Ashfaque
Search Beautiful Girls from your town for night
- Local time
- Today, 20:02
- Joined
- Sep 6, 2004
- Messages
- 894
I am fetching up some records in a subform thru a query:
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?
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?