Thanks a lot to both of you, I haven't had time to test it but it's much more than enough to solve my issues. I'll post again here once I've been able to test.
Again, thanks