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  

Suggestions on relationships, please



 
 
Thread Tools Display Modes
  #1  
Old September 5th, 2007, 05:20 PM posted to microsoft.public.access.tablesdbdesign
Gina K
external usenet poster
 
Posts: 43
Default Suggestions on relationships, please

I’m working on an employee training database and am getting more confused by
the minute…
I have the following tables:

tblEmployeeData
pkEmployeeID – autonumber
EmployeeName – text
HireDate – date

tblCourses
pkCourseID – autonumber
CourseName – text
CourseDescription – text
CourseFrequency – long integer

tbEmployeeCoursesRequired (lists courses each employee is required to take)
pkEmployeeCourseID – autonumber
fkEmployeeID – long integer
fkCourseID – long integer

tblSessions (when a course is offered)
pkSessionID – autonumber
fkCourseID – long integer
SessionDate – date
SessionDuration - integer
SessionInstructor – text

tblEnrollment (who is enrolled in each session)
fkEmployeeID – long integer
fkSessionID – long integer
fkEmployeeCourseID – long integer
SessionCompleted – y/n
(fkEmployeeID and fkSession are joint primary key)

I think these tables cover everything I want to track, but I’m not sure
exactly what relationships should exist. Right now I have tblEmployeeData
tblEmployeeCoursesRequired tblEnrollment tblSessions tblCourses, but it
just looks wrong.

Also, what's the best way to track future requirements? Say an employee
completes Course A on 08/01/07 and Course A has a frequency of 365 days. Can
I put in some provision for a reminder that the employee will need to take
Course A again on 08/01/08?

Thank you.

  #2  
Old September 5th, 2007, 06:13 PM posted to microsoft.public.access.tablesdbdesign
Roger Carlson
external usenet poster
 
Posts: 824
Default Suggestions on relationships, please

On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "TrainingRegistration.mdb". You might want to take a look at
it for ideas.

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L


"Gina K" wrote in message
...
I'm working on an employee training database and am getting more confused
by
the minute.
I have the following tables:

tblEmployeeData
pkEmployeeID - autonumber
EmployeeName - text
HireDate - date

tblCourses
pkCourseID - autonumber
CourseName - text
CourseDescription - text
CourseFrequency - long integer

tbEmployeeCoursesRequired (lists courses each employee is required to
take)
pkEmployeeCourseID - autonumber
fkEmployeeID - long integer
fkCourseID - long integer

tblSessions (when a course is offered)
pkSessionID - autonumber
fkCourseID - long integer
SessionDate - date
SessionDuration - integer
SessionInstructor - text

tblEnrollment (who is enrolled in each session)
fkEmployeeID - long integer
fkSessionID - long integer
fkEmployeeCourseID - long integer
SessionCompleted - y/n
(fkEmployeeID and fkSession are joint primary key)

I think these tables cover everything I want to track, but I'm not sure
exactly what relationships should exist. Right now I have tblEmployeeData

tblEmployeeCoursesRequired tblEnrollment tblSessions tblCourses, but
it
just looks wrong.

Also, what's the best way to track future requirements? Say an employee
completes Course A on 08/01/07 and Course A has a frequency of 365 days.
Can
I put in some provision for a reminder that the employee will need to take
Course A again on 08/01/08?

Thank you.



  #3  
Old September 6th, 2007, 01:52 AM posted to microsoft.public.access.tablesdbdesign
Gina K
external usenet poster
 
Posts: 43
Default Suggestions on relationships, please

Thanks, Roger. I think I have my tables sorted out after looking at your
sample.

 




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 02:41 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.