When a "mechanic" is added, I need for the SKILLSET table to automatically assign a LEVEL_ID field value of "1" for every COMPONENT_ID found in the COMPONENT table.
In english:
Basically, I need to know how skilled every mechanic is for every component. The default value should be the lowest level "Level_ID"=1, until I can go in and update their individual skills with real data.
I have 30 mechanics to enter into the database, and I'm trying to avoid assigning EACH component to EACH mechanic every time I add a mechanic (or component) to the database.
Please advise or point me in the direction to where I could find an answer.
I hope this was clear. In case its not obvious, I'm new to this.
(Addtionally; if you can also answer this, it'd be helpful)
I would like to avoid being able to enter the same MECHANIC_ID + Component_ID within the SKILLSET table, more than once (preventing duplicates). *this one has me stumped also*
I'm kind of in the process of starting my form creation, and these two issues are obviously problematic.
You folks are awesome! Thank you Thank you Thank you!
Worked exactly as needed.
But back to the other question, I'm not quite clear on the answer. It sounds as if I'm being told , there is "no shortcut" to this issue.
Here it is repeated:
I have 30 mechanics to enter into the database.
Once added, I need to default to "1" for his Level_ID for each Component_ID found in the ComponentTable:
Fields: SkillsetTable_ID, Mechanic_ID, Component_ID, Level_ID
You see; Each mechanic MUST be rated for EACH Component. So as soon as a MECHANIC is added, he should default to a rating for ALL components. i can then go in and change their rating to the true value as needed.
As it is now, I must add a Mechanic_ID, and then ADD each Component_ID to each Mechanic_ID, and then ADD a LEVEL_ID to each Component_ID.
I want to Add a Mechanic_ID, and automatically ALL Component_ID's be added with a default LEVEL_ID=1.