Thanks everyone. Finally, i found out what's wrong with my program. it is working properly now. Thanks a lot.
Forum Rules