Filtering Retirement Dates - Causing Problem (1 Viewer)

Brianwarnock

Retired
Local time
Today, 16:19
Joined
Jun 2, 2003
Messages
12,701
OK found the problem, Null dates of Birth.
This has never given me this problem before, I would have expected #ERROR from the function.
To overcome this use criteria Is Not Null in the first query Empllist_Current_fqd for DateofBirth.

Brian
 

PKJ

Registered User.
Local time
Today, 20:49
Joined
Mar 7, 2010
Messages
29
Aha. you did miracle for me. Your advice worked perfect with following modification in RetirementDates_sq query -

Code:
SELECT A.EmpCode, A.Name, A.Designation, A.OfficeCode, A.DateOfBirth, RetiringDate(DateOfBirth) AS RetDate
FROM EmpList_Current_fqd AS A
WHERE A.DateOfBirth IS NOT NULL;

Dear friend, any thanks would be lesser to express my gratitude for you. Even than loads-of-thanks for this and also telling so many other useful tips.
Regards - PKJ
 

Brianwarnock

Retired
Local time
Today, 16:19
Joined
Jun 2, 2003
Messages
12,701
Glad to have helped, off to enjoy the sun in the garden now.

Brian
 

Users who are viewing this thread

Top Bottom