Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

USe self-join to get many employees of same manage


This topic is 8083 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Dear All,

I use a self -join of the same database to get many employees of the same manager but it gives me the same number of record of parents record, but I want to show the parent record (manager) only once . And also I would like to find the data in portals. If i use two separate database , it is ok but the same datatabse ., it gives me alot of problems

Any one have done that before or have an sample file?

Thanks

Posted

Are you looking to show the manager and the people reporting to them on the same layout?

If so, you can use a portal based on a relationship set up between a Manager# field in the file self joined to the employee# (or whatever reference number you are using for each person.

This should show the manager as the parent record and unless the manager is notated as managing themself, it should not show the manager on the list of their employees. You could then count or summarize information in the portal using summary functions on the related field.

Did I address your question or did I misunderstand what you are asking?

This topic is 8083 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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