Thanks a lot Marc for helping me to solve this problem.
This is an excellent solution.