Mark's original answer sorted my problem in no time at all; so thanks for that. I'm familiar with ROW_NUMBER but hadn't thought of using it in this context. ...
That's a neat thought. I'll have to do some work on it - ID's aren't sequential because there are multiple objects putting data into the table, but I can...