//Checks for another record with the same ISBN when the user inserts an ISBN number
        public bool checkForDuplicateRecord(string ISBN)
        {
            string  nextRecord;
            Boolean isEndOfFile = true;
            Boolean success;
            int     countProcessedRecords = 0;

            nextRecord = Globals.BookStore.getCurrentBookFile.getNextRecord(ref isEndOfFile);

            while (!isEndOfFile)
            {
                countProcessedRecords++;
                success = Book.createBookObject(nextRecord);

                if (success != true)
                {
                    MessageBox.Show("Unable to create book object.", "Book Creation Unsuccessfu;", MessageBoxButtons.OK);
                    return(false);
                }
                if (!Book.bookMatch(ISBN))
                {
                    //Need to put next record here in able to see all the records before the one you are updating or deleting
                    updatedBookFile.putNextRecord(nextRecord);
                    nextRecord = getCurrentBookFile.getNextRecord(ref isEndOfFile);
                }
                else
                {
                    return(true);
                }
            }
            return(false);
        }