what are the errors. maybe you need to add braces { and } around lines 21, 22 and 23 to make them all part of the loop.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,961 posts
since Aug 2005