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
virus issue
Date Function
READTEXT
unable to receive mails from external domain
Cannot login to hotmail
Convert Pagemaker file to Publisher
How to start/stop FTP server from command line
Excessive spam getting past Exchange 2007 Edge Transport server.
Go Daddy's Traffic Blazer
Best Way to Test a Python Script?