Sorry it's late in the uk.
I'll start from the beginning, I have been creating a Help Desk logging tool using Infopath and SharePoint. I originally had a reference which was taken from the SharePoint list however when I was creating workflows and moving lists about I found there could be duplicate ID's.
I started looking ...