A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Working hours database: I'm going mad...



 
 
Thread Tools Display Modes
  #1  
Old November 22nd, 2006, 04:39 PM posted to microsoft.public.access.tablesdbdesign
scubadiver
external usenet poster
 
Posts: 1,673
Default Working hours database: I'm going mad...

The database I am using now has a 1:m relationship. Employee info is in the
main form and the records are in the subform. I know that for each employee,
dates are being repeated.

This database needs to be improved upon and how the date information is
incorporated in to the design is major headache!

The major problem I have is that I am not entirely sure how I want users to
enter the information since there are so many variations (or is that the
point? LoL)

I haven't included all the fields for each table but here are the
relationships them.

tble_Dept
DeptID (PK)

tble_Subdept
DeptID (FK)
SubdeptID (PK)

tble_employee
SubdeptID (FK)
EmployeeID (PK)

tble_holiday (will be used as a holiday booking form)
EmployeeID (FK)

tble_week
EmployeeID (FK)
WeekID (PK)
Date
Rate

tble_record
RecordID (PK)
SubdeptID (FK)
WeekID (FK)

tble_absence (used for recording absences)
RecordID (FK)

In the above design I have "tble_week" as a link between the employee and
the record but is this necessarily the best thing ???? dates are going to be
repeated for each employee.

I could have the date as a main table so I can have all 52 weeks of the year
(2007)

Before anyone asks, a major component of this database is that I want to
record the department and subdepartment each employee is affiliated to, even
though an employee can work in any subdepartment. This is important in terms
of how the business is operating.

Are any problems raised by this design?
  #2  
Old November 23rd, 2006, 10:02 PM posted to microsoft.public.access.tablesdbdesign
Graham Mandeno
external usenet poster
 
Posts: 593
Default Working hours database: I'm going mad...

Hi Scuba

I suggest you repost with a more specific question. What you have said here
is analogous with "I've painted a picture, but is it art?" :-)

What do you actually want to achieve? What is the problem?
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

"scubadiver" wrote in message
...
The database I am using now has a 1:m relationship. Employee info is in
the
main form and the records are in the subform. I know that for each
employee,
dates are being repeated.

This database needs to be improved upon and how the date information is
incorporated in to the design is major headache!

The major problem I have is that I am not entirely sure how I want users
to
enter the information since there are so many variations (or is that the
point? LoL)

I haven't included all the fields for each table but here are the
relationships them.

tble_Dept
DeptID (PK)

tble_Subdept
DeptID (FK)
SubdeptID (PK)

tble_employee
SubdeptID (FK)
EmployeeID (PK)

tble_holiday (will be used as a holiday booking form)
EmployeeID (FK)

tble_week
EmployeeID (FK)
WeekID (PK)
Date
Rate

tble_record
RecordID (PK)
SubdeptID (FK)
WeekID (FK)

tble_absence (used for recording absences)
RecordID (FK)

In the above design I have "tble_week" as a link between the employee and
the record but is this necessarily the best thing ???? dates are going to
be
repeated for each employee.

I could have the date as a main table so I can have all 52 weeks of the
year
(2007)

Before anyone asks, a major component of this database is that I want to
record the department and subdepartment each employee is affiliated to,
even
though an employee can work in any subdepartment. This is important in
terms
of how the business is operating.

Are any problems raised by this design?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.