Thanks that works perfect!
The only problem you will have is when there is a random combination inserted into the attachment combination. Unless you can think of a solution is to either limit each list to one attachment. for example A3 will only allow you to select attachment and so on... Or to have every combination inserted into the list. for example Attachment 1 and 2 will also have the combination of 2 and 1