Thanks guys,

I still have some doubts on how to code this but i will use your tips, study them a bit and try some lines of code.

Regards
Rui