I'm in the process of creating a program that maintains a staff details file. I've got all the code that creates a random access file, and I can add entries and sort them in the right order within the file. I have now hit a brick wall when it comes to modifying an existing record within the file. The file contains an int called recordnum to keep track of the records and to give random access, so I know how to get to the record and load it into variables but do not know how to save changes back into the same record position. Any help would be greatly appreciated.