Following the steps and using the functions you described, I was finally able to implement the multiple principals logic. Thank you very much for the support. Regards, Bernardo