Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Relational Training Database Setup.

Featured Replies

  • Newbies

Hi,

I’m trying to set up a database which collects similar information, but I’m not sure about the best way to store the information. It is a training database which tracks Employee Info and the training they can have. Currently, an employee can have up to 40 different types of training, but for this initial purpose we will only identify 2 to keep it simple.

So with simplicity on the mind here are some tables and fields:

Employee_Info_Table:

Field_EmployeeID

Field_EmployeeName

Safety_Training_Table:

Field_EmployeeID

Field_IsApplicable

Field_FormalTraining

Field_LicenceNo

Field_CompetencyScore

Field_ExpiryDate

Field_TicketStatus

Field_OtherInfo

Enviro_Training_Table:

Field_EmployeeID

Field_IsApplicable

Field_FormalTraining

Field_LicenceNo

Field_CompetencyScore

Field_ExpiryDate

Field_TicketStatus

Field_OtherInfo

Now, currently I have each of these as separate tables, but as I said, with 40 different types of training this will add up to be a lot of tables. Plus, with the information being the same for each of the training’s I know there must be a way to keep it all together.

I had the great idea of setting this up:

Employee_Info_Table:

Field_EmployeeID

Field_EmployeeName

Safety_Training_Table:

Field_EmployeeID

Field_TicketID (which equals EmployeeID plus “Safety”)

Enviro_Training_Table:

Field_EmployeeID

Field_TicketID (which equals EmployeeID plus “EMP”)

Training_Info_Table:

Field_TicketID

Field_IsApplicable

Field_FormalTraining

Field_LicenceNo

Field_CompetencyScore

Field_ExpiryDate

Field_TicketStatus

Field_OtherInfo

It looks as though it would work, however I don’t know how to have Training_Info_Table::Field_TicketID to keep the values of 2 or more different fields.

This is only the latest idea in a long list of failed ones, so any suggestions would be appreciated. If you need any other information please post and I’ll do my best to explain better.

(Also, I don't usually name my tables and fields with "table" or "field", it's just to help avoid confusion)

Thankyou.

Why not just have a "Training Program" table.

  • Author
  • Newbies

I'm not sure what you're suggesting sorry. Would that table be to house all the training fields identified in the first example? Meaning would the "Training Program" table use all 8 'safety' fields, as well as all 8 'environmental' fields, etc?

The suggestion is to have a table where each training program would be a record, and the name/type of the program would be a field. Then you need another table where each record is one employee participating in one training program. See a very similar arrangement here:

http://www.fmforums.com/forum/showpost.php?post/246136/

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.