Thanks Mark
I had to change to once per selection but after that it works perfectly. The first version only worked if there were exactly 3 (or ns) qualifiers.
I have to say that although it can really hurt the old grey matter (well mine anyway) in gaining a degree of proficiency with MFP, the speed and quality of response on this forum is pretty smokey.