Newbies hag Posted October 14, 2009 Newbies Posted October 14, 2009 I am trying to have a list that would show the sum of records sorted by type. The DB has two tables "list" and "list line". "list line" is self joined to "List_line_Type" based on the fk ListID and Type. The sum field for Type is a calculation field: Case (Type = 1 ; List_line_Type::Total) and Case (Type = 2; List_line_Type::Total). Next I want the sum as sorted by type to show in the List table. The fields are defined as calculation filed = List_line_Type::Tot_type1 and ...Type 2. While the right results appears in the List_line table, they will not show correctly on the List table. It's as if FMP only evaluates the first related record and hence shows the calculation of the Type of that first record ignoring the rest. What am I doing wrong? List.fp7.zip
comment Posted October 14, 2009 Posted October 14, 2009 There are several ways to do this - here's one: List.fp7.zip
Newbies hag Posted October 14, 2009 Author Newbies Posted October 14, 2009 Thanks! it works perfectly
Recommended Posts
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