I can grab all sql and put them in desc order. Then I try to run the code through until it gets to the last Admin key in the series and hold that record and write to transaction file. Except it gives me all the records not just the 07D one. It gives me all records in the series not just the last one. I need some serious help.