To include a check box for resignation in Employee Table?

Harrold

Registered User.
Local time
Today, 23:29
Joined
Mar 17, 2011
Messages
72
Hi

I am a newbie and to create a simple payroll in Access. Would it be useful to create a field by checkbox in employee table for resigned staff? My purpose is to know who to include and exclude for current month payroll.

Thanks
 
I use a LastDayWorked field. If it is null, then the employee is still working. If I want a list of active employees I do ...
Code:
SELECT * FROM Employee WHERE IsNull(LastDayWorked)
 
Yes this is a good idea because it can also give a list of current employees at any time you choose. Handy for things like creating list of those who need a statement of income for the end of financial year. You exclude those who left before the year started.
 
A slight tweak to the SQL:
Code:
SELECT * FROM Employee WHERE [COLOR=Blue][B][COLOR=Black]LastDayWorked[/COLOR] Is Null[/B][/COLOR];
 
Hehehe, SQL still beyond my capability. currently, i am still designing my table structure. hopefully, i will be able to use VBA and SQL soon.

Thanks everyone ;-)
 

Users who are viewing this thread

Back
Top Bottom