Hi thanks to both of u. My program works fine.