chevell Posted November 23, 2005 Posted November 23, 2005 I have a contact database with a field for manager and then a portal I want to show all people they manage. I created a relationship and related manager to full name. The portal is now showing the manager of the person, rather than the names of the people that person manages. Can anyone help? Thanks!
-Queue- Posted November 23, 2005 Posted November 23, 2005 Flip your relationship so that the current record's employee name matches any records where his/her name is in the manager field. Better yet, use a field to hold the manager's unique id and relate the employee's unique id to it, unless you prefer to manually update all relevant employee records when a manager happens to change their name or deal with the confusion of two managers having the same name.
Ender Posted November 23, 2005 Posted November 23, 2005 Switch the fields around in the relationship definition so that full name relates to manager. BTW: You should consider using Employee IDs as your relational keys. Using names creates problems when the names change.
chevell Posted November 23, 2005 Author Posted November 23, 2005 Ok, i got it working with the names. Thanks. Now I just need to see how to get it working with an employee id. You're right, I should be using that. Basically, I want a popup list with names, but I want it to relate to their employee ID. How would that work? Thanks!
Recommended Posts
This topic is 7033 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now