DB example

J

JF Bouthillier

Hi,

I am trying to create a database where absences will be tracked. I am
unsure about how I should design this system...

Can someone give me an example to start off with?

Thanks a lot for your help.
 
D

Duane Hookom

Start with a table of all people
tblPeople
============
peoPeoID autonumber primary key
peoFirstName
peoLastName
....

Create a table of absense codes
tblAttendCodes
================
atcAtCID autonumber primary key
atcTitle values like Sick, Lame, Lazy,...
atcStatus

Create a table of people/attendance
tblPeopleAttendance
==============
peaPeAID autonumber primary key
peaPeoID link to tblPeople.peoPeoID
peaAtCID link to tblAttendCodes.atcAtCID
peaHours maybe
peaComments
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top