BrokenBiker
ManicMechanic
- Local time
- Today, 04:04
- Joined
- Mar 22, 2006
- Messages
- 128
In my db I have three tables: tbl_Employees, tbl_CourseCodes, and tbl_TrainingMain. The tbl_TrainingMain table lists an individual (from tbl_Employees) and a training item (tbl_CourseCodes) and any relevant data, i.e. date completed, remarks, etc.
In the tbl_CourseCodes, there's a field (Basic_CrsCode) to identify those courses which need to be 'loaded' against each individual in the tbl_Employees.
As it stands right now, there's no such standardization among the employees w/regards to their training items.
What I'd like to do is search tbl_TrainingMain for each employee and each course (ID'd by Basic_CrsCode). If an individual does not have the identified course listed, then add that record to the tbl_TrainingMain.
I thought about building a query, but I only know how to make a query that looks for matches. I'm basically looking for records that don't match.
I'm thinking it would require a two-part code: First search, then append; correct?
I'll take any help I can get. I can work with VBA a bit, but don't know enough to start from scratch.
-BB

In the tbl_CourseCodes, there's a field (Basic_CrsCode) to identify those courses which need to be 'loaded' against each individual in the tbl_Employees.
As it stands right now, there's no such standardization among the employees w/regards to their training items.
What I'd like to do is search tbl_TrainingMain for each employee and each course (ID'd by Basic_CrsCode). If an individual does not have the identified course listed, then add that record to the tbl_TrainingMain.
I thought about building a query, but I only know how to make a query that looks for matches. I'm basically looking for records that don't match.
I'm thinking it would require a two-part code: First search, then append; correct?
I'll take any help I can get. I can work with VBA a bit, but don't know enough to start from scratch.
-BB
