Thank you all for all the suggestions and the for providing the actual code. i tested it and it works just fine. i am new at using kix but i have been reading the documentations and it has a lot of excellent uses. I really appreciate your assistance on this.
Be back soon...