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
Using Office 2007 in Windows Terminal Services 2003
Bulk Insert in SQL SERVER 2000
anything like nohup in DOS
REVOKE PERMISSIONS..
server dropped connection without sending the initial greeting
Post XML file to HTTPS web-service using Perl
Unable to Write Registry Key with .bat file on startup
faulting application wmiprvse.exe, problem on windows 2003 DC
CS2 crashes on updating and rendering text layer
Exchange Server Based Forwarding vs. Client or Rule Wizard based Forwarding