Create a Work Schedule and Leave Tracking Database in Microsoft Access
Question details
The user wants options for building a database to manage employee schedules, rotating shifts, and leave.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Create or adapt a database that tracks employee shift assignments and different types of absence.
- Observed behavior
- The desired database should organize schedules and leave records so they can be reviewed and reported together.
List the shift patterns, leave categories, and reports you need, and decide whether employees can have multiple shifts or leave records on the same day. You can also review existing scheduling data models for ideas before designing your tables.
Build related tables for schedules and leave in Access
Use this approach to create a customizable database for employees, shift assignments, and absences.
Keep employee, shift, and leave information in separate related tables. Store actual schedule dates so you can report on assignments even when rotation patterns change.
In Microsoft Access, select File > New > Blank database, choose a name and location, and select Create.
Use Create > Table Design to create Employees, Shifts, Schedule, LeaveTypes, and Leave tables. Give each table a primary key; include employee and shift IDs plus a date in Schedule, and employee ID, leave type ID, start date, and end date in Leave.
In Table Design, add a rotation-pattern table or fields if you need to describe recurring cycles. Record the resulting dated assignments in Schedule, including start and end times where needed for overnight shifts.
Open Database Tools > Relationships, add the tables, and link their primary keys to the corresponding ID fields in Schedule and Leave. Enable referential integrity where appropriate.
Use Create > Form Wizard for data entry and Create > Query Design to build schedule and leave reports. Include dates in your queries to identify shifts that overlap an employee's leave.

Track schedules and leave in WPS Spreadsheet
For a simpler spreadsheet-based roster, use the free, lightweight WPS Office suite. Its familiar interface and Excel format support make it easy to move existing schedules into WPS Spreadsheet. It is an alternative for spreadsheet tracking, not a replacement for an Access relational database.

Frequently Asked Questions
What tables do I need for a basic scheduling database?
Start with Employees, Shifts, Schedule, LeaveTypes, and Leave. Use Create > Table Design in Access to define each table and its primary key.
How can I find shifts that overlap employee leave?
Use Create > Query Design to include employee IDs, scheduled dates, and leave start and end dates. Set criteria that return a scheduled date within the corresponding employee's leave period.
Can I use an existing data model instead of starting from scratch?
Yes. Review scheduling or absence-tracking data models for table and relationship ideas, then adapt them in Access to match your shift patterns, leave types, and reporting needs.
Can WPS Spreadsheet replace an Access database?
WPS Spreadsheet can manage a simpler roster in an Excel-compatible workbook, but it does not replace Access tables, relationships, forms, and queries.




