Microsoft
Software
Hardware
Network
Question : database redesign
Hello guys. I am using access to enter the data into the database. The current database that I was using was flawed in several ways. There were no primary keys and no normalization followed. Now I want to rectify that and need your help.
This is what I was trying to do. We are storing the attendance for each employee. The database fields are
1) empid
2) empname
3) empdesignation
4) functionality
5) jobid
6) Attendence Date
The existing database would enter the data as
1001 Preetham IT Engineer IT 4 05/28/2009
1001 Preetham IT Engineer IT 4 05/29/2009
1001 Preetham IT Engineer IT 4 05/30/2009
1001 Preetham IT Engineer IT 4 05/31/2009
1002 Jayanth Music Manager Music 3 05/28/2009
1002 Jayanth Music Manager Music 3 05/29/2009
1002 Jayanth Music Manager Music 3 05/30/2009
1002 Jayanth Music Manager Music 3 05/31/2009
1003 Paul Software Engineer IT 4 05/28/2009
1003 Paul Software Engineer IT 4 05/29/2009
1003 Paul Software Engineer IT 4 05/30/2009
1003 Paul Software Engineer IT 4 05/312009
As you can see there's severe duplication occuring. How can i store the attendance without any duplication occurring for the emp id. Should i create another table for the attendence sepeately. Please guide me. Thanks in advance.
Answer : database redesign
Check out the new sample attached. Here you should use the concept of form/subform. Any other fields related to attendance should go in Attedance Details table.
Q-24451304-Employee-Attendance-D.mdb
(296 KB)
(File Type Details)
New sample
Random Solutions
Webmail shows list of emails but cannot open or create a new message. Help!?
Bash sort / cut / uniq script to analyze domains
How to add route statement to 2000 Server or router?
Get Frame Label Name
Can I have a shell script continue after failure on a line?
Routing connector isn't forwarding mail between Exchange 2003 and Exchange 2007
Reference object outside a MovieClip
Advice about moving master roles
Forwarding disabled email account
how to check that SNMP service is running and comunity permission