C
CF
Hello,
I am new to Access and trying to get an employee database. Now, I like to
have a query/report (that I can afterwards download to excel) that tells me
if a person was in the company during a certain month or not - based on the
start date and end date. The end date can be empty.
What I am doing now is to have a query for each month that tells me if the
person was in the company or not, with the following calculation:
Jan 09: IIf([Employee]![Start Date]<=31/1/2009 And ([Employee]![End
Date]>=31/1/2009 Or [Employee]![End Date]=""),1,0)
However this doesn't give the desired result. Any suggestion?
Thanks.
I am new to Access and trying to get an employee database. Now, I like to
have a query/report (that I can afterwards download to excel) that tells me
if a person was in the company during a certain month or not - based on the
start date and end date. The end date can be empty.
What I am doing now is to have a query for each month that tells me if the
person was in the company or not, with the following calculation:
Jan 09: IIf([Employee]![Start Date]<=31/1/2009 And ([Employee]![End
Date]>=31/1/2009 Or [Employee]![End Date]=""),1,0)
However this doesn't give the desired result. Any suggestion?
Thanks.