Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Advise on creating an hierarchy type structure


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

Recommended Posts

Posted

Any advice on how I can go about this: I have a customers db that contains a field called 'recommended_by'. This field stores a number that relates to a customer in the db, so when a new customer is entered I can select a number that corresponds to the customer that passed on my name from the list displayed. I have a record with the surname field set to 'Advert' so if a new customer calls from my advert, I select this as the recommended number.

Is there a way of selecting a customer and then have displayed the path to that customer through recommendation up to 'Advert' name which will be at the top of the hierarchy?

  • 1 month later...
Posted

At the end of the day, I just need to be able to select a customer and see a recomended list of customers from one to the other back to the original advert. Someone must have an idea?

Posted

Hi jdenver,

I'm not sure I follow you completely. But here is what I'm understanding.

BTW, I think you are pretty close to having what you want, however, please correct me if I missunderstood something.

You have a file with Current Clients?

Your Current Clients have recommened Prospects?

You have created a relationship Key using your Current Clients and assigned it to the Prospects

Now you want to see a list of prospects associated with the Current Client.

Lee

Posted

I've got an idea. I don't know if there's a simpler way. But I just strung a series of the join table, one for each "level" (I stopped at 5).

[P.S. I'd strongly suggest that you use Record-level access privileges to protect that "Advert" record from Delete, by using the Limited option.]

ListHierarchy.fp7.zip

This topic is 6525 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.