Hello, i have been trying to figure this out for a while now, hopefully someone can help me...
I have 2 files, "import"fp5" & "members.fp5".
Each file has the following Fields and values:
Field Name: Member_Status
Values: value list - choices: Active, Inactive, Suspended
Field Name: DMA
Values: value list - 001 New York, 002 Los Angeles, 003 Chicago, etc...
What i am trying to do is create a calculation field in the "import.fp5" file that can tell me how many records in the "members.fp5" file have the same DMA as the current record in the "import.fp5" file BUT ALSO only have a status of "Active".
I have built a relationship named "count_qty_mbrs_same_DMA" from "import.fp5" to "members.fp5" based upon the DMA field. Also, in the "import.fp5" file, i have created a calculation with the following definition:
Count(count_qty_mbrs_same_DMA::Member_status)
However, the calculation only returns the total quantity of records in the "members.fp5" file with the same DMA as the current record in the "import.fp5" file.
For instance, if I am browsing the "import.fp5" file and the DMA value for that current record is "001 New York" , then it will correctly show that there are 12 records with the value "001 New York" in the "members.fp5" file, however I can't seem to get it to tell me how many of those related records have a value of "Active" in the Status field.
It's confusing, because i do not want to have to do a find script, it needs to be a calculation with unstored results.
I hope i explained this well. Thanks!
Chris