Re: Deleting a Record from the file
I'm having some trouble understanding what I have to code for removing a product record from the file (having all it's field information be deleted). The code that I currently have for that section is not working. It asks the user to enter the Product ID of the file they wish to delete and then the program should find the record and delete it. I would like it to be able to move all the records in the file up 1 position from the position of the file that was deleted so that there are no blanks in the file.
I've attached my code since it's a little different because it involves classes.
It's the last part that I need to get working on this program.
Any help or advice would be greatly appreciated on this subject. Thanks.