Thanks for the fast reply!
I understand the basics of what you're saying, but unfortunately I am using a PaymentType field, instead of PaymentDuesA, PaymentDuesB fields.
So, do you think I could setup a script so that for each individual it would calculate (in Dues.fp5):
[Calculation in Dues.fp5: DuesAPaidYNCc]
!-- First Check if PaymentType = Type_1_Dues for all records in Payment.fp5
!-- that relate to each individual record in Dues.fp5. !!!This is the key!!!
If(
Payment.fp5::PaymentType="Type_1_Dues",
Case(
Payment.fp5::PaymentType=Paid.fp5DuesField, "yes",
IsEmpty(Payment.fp5::PaymentType)=1, "no",
Paid.fp5::PaymentType<Paid.fp5DuesField, "part")
)
My problem is still that I'm not sure how to go through all related records in Payment and get them to print out in Dues correctly.
ex: Let's say 'John' paid Dues B and Donation 1. He did NOT pay Dues A. This means he would have 2 entries in the Payment.fp5 file. The calculated fields would have to go through both Payment.fp3 records that relate back to 'John'. Record 1 in payment.fp5 says that John paid Dues B- DuesBPaidYNCc would have to return "yes". Donation 1 is skipped by the calculation because it is not one of the 2 types of Dues. After this is complete there would have to be a check
IsEmpty(DuesAPaidYNCc)=1,"no"
IsEmpty(DuesBPaidYNCc)=1,"no"
So how can this calculation find related records to the 170 individual records and perform the calculation x # of times based on how many related records there are? I think once I understand that I'll be able to figure this out on my own.
Thanks again!
-Mike Johnson