We are going through a role mapping exercise in which we need to take a series of agency roles and match them to a new set provided for the project. Each role in both groups has a number of transactions. I need to determine how good the match is between the two lists based on the number of transactions that are the same.
So far, I have an Access report that on the left go through each role and lists each of the transactions in the detail section. Then in the detail section, I have a subreport for the list of provided roles that is linked via the transactions (actually a unique code that is common to both lists - well at least I hope that it is, however there may be codes in the provided list that do not appear in the agency list, but NOT vice versa).
The header of the report shows the total number of transactions in each agency role.
What I now want to do is for each agency role, provide a summary of roles (ie. a distinct list) from the other list that had a match in transactions for that agency role, and to count the number of times that the role from the new list occurred out of the count in the header.
Eg - say I have agency roles called AG1, AG2, AG3 and AG4
AG1 has transactions T1, T5, T7
AG2 has transactions T1, T2, T3, T12
AG3 has transactions T2, T4, T7
AG4 has transactions T3, T4, T5, T8
The other list has roles OL1, OL2, OL3
OL1 has transactions T2, T10, T12
OL2 has transactions T3
OL3 has transactions T6, T7, T8, T9
Output should be like
AG1 3 transactions
T1 - nothing as there is no corresponding role from the OL that includes this tx
T5 - nothing as there is no corresponding role from the OL that includes this tx
T7 ...... OL3
Summary
OL3 role has 1 match out of 3
AG2 4 transactions
T1 - nothing as there is no corresponding role from the OL that includes this tx
T2 ....... OL1
T3 ...... OL2
T12...... OL1
Summary
OL1 role has 2 match out of 4
OL2 role has 1 match out of 4
etc
The lists each have hundreds of roles and transactions and so I really am looking for a system to do the calculation for me. I would also like to be able to put this data to a table so that it is available for a form which I am sure will lead to at least one moreEE question.
After this, I will be looking at designing a form
Start Free Trial