jeffcampbell
New member
- Local time
- Today, 15:50
- Joined
- May 27, 2010
- Messages
- 6
Hi Everyone,
I'm working on my first "real" Access database, intended to keep track of employee who receive recognition for performance. It quickly got more complex when it turned out that it required a "many to many" relationship, i.e. employee can recieve multiple awards, and an individual award can be shared by multiple employees. I puzzled out (with some previous help offered here) that I needed a junction table. So, right now, I have tblEmployee, tblAward, and tblJunctionEmployeeAward. I've build a form with a combo box and a join that allows me to page through employees and see associated awards, add a new employee, and by using "NotOnList" and a little bit of code, add a new award. Here's where I need help. In tblAward, I currently have three fields (Department, AwardType, ToPersonnelFile) which can be different for different employees. For example, Employee#1 could recieve a gift card, and have nothing sent to their personnel file and Employee#2 could get a letter of appreciation, and have documentation of the award sent to their personnel file. So, I added these two field to tblJunctionEmployeeAward, and tried to do a Join in the Form properties. Well, when I try the Join, when I open the Form, I'm prompted to enter the Department. If I enter a valid Department number, the from opens up. I'm assuming at this point that I either need to create more Junction Tables, or I'm doing the Join incorrectly. Any help would be appreciated!!!
Thanks!
I'm working on my first "real" Access database, intended to keep track of employee who receive recognition for performance. It quickly got more complex when it turned out that it required a "many to many" relationship, i.e. employee can recieve multiple awards, and an individual award can be shared by multiple employees. I puzzled out (with some previous help offered here) that I needed a junction table. So, right now, I have tblEmployee, tblAward, and tblJunctionEmployeeAward. I've build a form with a combo box and a join that allows me to page through employees and see associated awards, add a new employee, and by using "NotOnList" and a little bit of code, add a new award. Here's where I need help. In tblAward, I currently have three fields (Department, AwardType, ToPersonnelFile) which can be different for different employees. For example, Employee#1 could recieve a gift card, and have nothing sent to their personnel file and Employee#2 could get a letter of appreciation, and have documentation of the award sent to their personnel file. So, I added these two field to tblJunctionEmployeeAward, and tried to do a Join in the Form properties. Well, when I try the Join, when I open the Form, I'm prompted to enter the Department. If I enter a valid Department number, the from opens up. I'm assuming at this point that I either need to create more Junction Tables, or I'm doing the Join incorrectly. Any help would be appreciated!!!
Thanks!