Writing a unique field to a RAF file help
Hello, so I am trying to write a unique ID number to each new record I add to my random access file, but I'm having some trouble. I can't figure out a way to do this so it increases each time, instead it just has the same number written for every record. Can someone explain to me how to have the ID number increase by 1 each time I write? I'm appending to the end of the file each time if that helps.
Thank you for any help.