John Chamberlain Posted July 28, 2009 Posted July 28, 2009 I have a portal that was showing multiple records just fine. This page tracks donations made to a non-prof, and when a donor name is chosen, it finds the correct number of records, but the portal only shows the first record. Also a summary field, which previously had shown the total of all records, now only show the value of the first record. All fields are inside the first line of the portal, and the portal is defined as 1 row with 20 repetitions and a scroll bar. Can anyone suggest what happened here? TIA
mr_vodka Posted July 28, 2009 Posted July 28, 2009 did you change the relationship or the base table occurrence for the portal?
John Chamberlain Posted July 28, 2009 Author Posted July 28, 2009 No I didn't - I am attaching a fragment of the file with only one person in it, if you would care to look. FixNation_DB_copy.fp7.zip
mr_vodka Posted July 28, 2009 Posted July 28, 2009 Your layout is based on Donations. Your portal is based on Personal~Organization Data. Your fields in the portal are from Donations. It will only show you the current Donation info...
comment Posted July 28, 2009 Posted July 28, 2009 Note also that the relationship's matchfields are incorrect: there is a unique serial ID field on the child side, but not on the parent side - it should be exactly the opposite.
John Chamberlain Posted July 29, 2009 Author Posted July 29, 2009 Please bear with me - I am trying to transition from FMP 6 and earlier to FMP 7, and I am struggling with concepts. I don't understand what the following means: "Your portal is based on Personal~Organization Data. Your fields in the portal are from Donations." Nor do I get what the following is all about: "the relationship's matchfields are incorrect: there is a unique serial ID field on the child side - it should be exactly the opposite" Can you please make this a little easier to understand for and old-timer like me?
comment Posted July 29, 2009 Posted July 29, 2009 A portal is defined to "Show related records from: [child table]". A portal should be placed on a layout of the parent table, and the fields in the portal should come from the child table. This, BTW, was equally true in version 6 - except the tables were files. On second look, I think it's not your matchfields that are reversed, just the choice of the layout and of the source table for the portal. FixNation_DB_copy.fp7.zip
John Chamberlain Posted July 29, 2009 Author Posted July 29, 2009 I think I get it - the layout belongs to Personnel (parent)table, and the portal gets data from the Donations (child)table. Thanks for your patience.
Recommended Posts
This topic is 5596 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