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
how to create email with vpopmail (vadduser) using php ?
webmail on intranet
How can I modify the contents/layout of a MySite page in SharePoint?
SQL Conditional statement noob question about IF statements...
Why isn't this working
undeliverable email
I need to login to Vista Home as Administrator, but account is not an option
multiple ip address to a nic
How to Split a Ms Word Doc into Several Ms Word Docs using VBA?
ERROR: There is no Citrix SSL server configured on the specified address. when accessing from company network Question: