Thank you, that's working to create the table, and when I run it as database 34 I get 164 (Did you run it twice?) records with no issues :) However, when I copy that code to my database it runs and uncovers the next problem; unfortunately, in the full dataset, some of the first serial numbers...