Hi there,
I am using CR 11, SQL database
My database has participants with a payment.payment_date field and payment.status_lkup_id, with the status_lkup_id field assigned a value of 1974 if the payment has been paid, 1975 if the payment is inactive, 2036 if the payment is ineligible and 2037 if the payment is eligible. There is also a field that contains the maximum number of payment dates allowed (benefit duration). I need to get the average of those payments that have been marked as paid (1974) based upon the benefit duration. Any help would be great! Thanks.
I am using CR 11, SQL database
My database has participants with a payment.payment_date field and payment.status_lkup_id, with the status_lkup_id field assigned a value of 1974 if the payment has been paid, 1975 if the payment is inactive, 2036 if the payment is ineligible and 2037 if the payment is eligible. There is also a field that contains the maximum number of payment dates allowed (benefit duration). I need to get the average of those payments that have been marked as paid (1974) based upon the benefit duration. Any help would be great! Thanks.