After testing chiram codes, its exacly what I needed and its working fine so thx chiram and to all trying to help.