Jump to content

Breadcrumbs and Dropdown Lists


pctechtv

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

Recommended Posts

I am new to FileMaker and I am loving every moment of it. It is so powerful. I have took some training (online) and have been reading on best practices and other related topics. My solutions for my business are coming along, but I am stuck on some areas. I have constructed a database that will collect information for my business. This information will have Topic and Subtopics. It was suggested to me that I try a setup like this.

 

INFORMATION------<TOPICLIST>-------INFORMATION_Topic

INFORMATION::pk_information = TOPICLIST::fk_infoparent

INFORMATION_Topic = TOPICLIST::fk_infochild

 

INFORMATION and INFORMATION_Topic are both Tabel Occurrences with the same data source table. TOPICLIST is a join table that allows the Many to Many relationship. This was a stretch for me to understand at first but once I played with it a bit it made very good sense. I fully understand now and have been able to get it all working well. I learned a lot and I am pleased.

 

The problem I am having now is that I need a way to offer a breadcrumb like system to know where you are at as it relates to information, and having a way to navigate the levels of Topic or Subtopic you are in. I need to be able to go up or down a level, and make dropdown list of all available at current level. I have learned about global fields and I am finding a lot of reading on how to use them with a Table. This Table that is described seems to be populated from existing content as a utility Table. I am lost in this area and don’t know where to start. How do you populate a table with existing data?  I have used a global for filtering via a Table Occurrence, but it seems to be different with this type of setup which I am new to. Should a global work the same way here to create a way to populate the related children of particular parents in to something like a dropdown. I was able to get a lot out of ExecuteSQL, I have a good amount of experience with PHP and SQL related concepts. With ExecuteSQL I could see ways to deduce who is a child of a particular parent and so on. However I want to learn more of the FileMaker Table Occurrence or before ExecuteSQL ways, because that is not my strong point. I think learning it will give me a greater understanding of FileMaker.

 

So to be clear I need help understanding:

  • How to create a utility Table that can help with a breadcrumb system, dropdown lists, and listing over all. How to populate this table with the correct existing data to make it useful
  • How to use a global field and Table Occurrences with this type of Many to Many setup to help with the process.

 

I have included a Mimic file much less complex then my database but it show this setup exactly like mine and can created Topic or Subtopics for as many levels of information as you choose. I hope someone else like me who does not have the knowledge of this type of set up find their way to it. I had learned some of FileMaker’s concepts but this was a great one to learn.

mimicdb.zip

Link to comment
Share on other sites

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