Most people use the location in the file to get the record number. If you have already read your data file in code,
you should have some idea what is in there. Another suggestion would be to get a hex editor so you can view the contents of the file, especially if you have not started parsing the file with code. I wrote a class that just reads the file and printed out all the records to the console. There are some good examples of how to do this on this forum. When I was ready to deal with recNo, I wrote a little algorithm so my record numbers would start with 1 and not 0. There are also some good posts on this subject, too. Use the Search function, it will be your best friend!