Hi Doug I took off the die statement and put a print "success" at the end. It got till thee and printed out each line as it is parsing through it but made no insert Rgds N __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com