I have split your post into a new thread from the
one you posted in. Please do not hijack other members' threads.
You have not given enough information and I should also point out that no-one will be inclined to solve your problem for you. So provide a better explanation of the problem with the code you've tried so far. Thanks.
Moderator.