Jump to content

Portal Filtering and separation model


MuonDude
 Share

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

Recommended Posts

I'm trying to implement portal filtering in this example and it is not working. I stripped down my

example to 2 files:

pft_ui.fp7 (the ui file)

pft_data.fp7 (the data tables)

Base Tables:

Cases

Status

Status Assignment (a Case-Status Join file)

I want to display a list of Cases in a portal from a layout (HOME) in the UI file (pft_ui). In this portal I want to show Case ID, Case Name and associated Case Status.

I then want to be able to filter on the Case Status to show All, Open, Closed, etc.

I've read the other postings and Chapter 16 of SEU FileMaker 7 by Steve Lane, et al., on portal filters. However I can't seem to get this to work.

Note that I have a calc field constant =1 in the HOME (UI) table and the Case table to allow me to show the Cases in a portal.

TIA.

portal-filer-test.zip

Link to comment
Share on other sites

  • 2 weeks later...

You've got a very mixed up set of relationships with keys everywhere but they don't make sense IMHO. What is the purpose of the status assignment table - do you expect one project to have many different statuses? It's going to be open and closed at the same time?

See attached suggested revision.

portal-filer-test.zip

Edited by Guest
Link to comment
Share on other sites

  • 2 weeks later...

You've got a very mixed up set of relationships with keys everywhere but they don't make sense IMHO. What is the purpose of the status assignment table - do you expect one project to have many different statuses? It's going to be open and closed at the same time?

Thanks for the reply and suggested solution. I'll look it over.

The data model (ERD) has each case having multiple status events (many-to-many). To keep the example/test simple I only listed a few (open, closed, etc.), but there are many others between the open and closed events. I resolved the m2m using the join table.

Link to comment
Share on other sites

This topic is 5588 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
 Share

×
×
  • Create New...

Important Information

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