Glad to hear that the suggestion helped and now the code works fine, Good luck, Hojjat -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150225/52984cef/attachment.html>