Thanks Mike,
Will test with this. Main difference is my array is the first and only parameter if that makes a difference.
Agree with using startup global variables in objects such as company etc.
Sage initially used a number of non startup global variables in their objects and it turned into a royal pain to figure out why things weren't working despite being compliant with documentation. Like those flags, this array is not global so the person who eventually follows me will not know that right away and the learning curve is pretty steep as is.