MuonDude Posted August 3, 2006 Posted August 3, 2006 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
bruceR Posted August 13, 2006 Posted August 13, 2006 (edited) 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 August 13, 2006 by Guest
MuonDude Posted August 21, 2006 Author Posted August 21, 2006 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.
Recommended Posts
This topic is 6669 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