Computer Science Canada changing datafile |
Author: | Michael [ Fri Jan 19, 2007 8:52 pm ] | ||||
Post subject: | changing datafile | ||||
hey people i got this problem with my datafile program my program loads a datafile that display first names, last names, ages, genders and marks for a bunch of students. I want the user to be able to change the datafile without actually going to the text file ... i know how to erase all students.. just open and close the datafile but i want the user to be able to erase a certain name how would i do that? now the user is able to enter new students to the datafile but not erase/change info of current students this is my proc for displaying the datafile
and this is the erase student proc
but this doesnt work.. unless i display the datafile in that same proc but i want to physically delete it from the datafile i know im missing something here.. like opening or closing datafile again but im not sure |