Hi,
I am using write() method of Class RandomAccessRecordFile. The problem is that, I am not able to overwrite a record in an already existing file. The available file modes are "r" and "rw" . I think opening the file in "Append" mode would solve my problem but then, these are the only two modes available(as far as I know).
Each time I open an already existing file, it wipes away all the records and shows me an empty file.. I dont know wat to do..
Please help..
opening a RandomAccessRecordFile in modify mode!
-
- Posts: 11
- Joined: Sat May 20, 2006 2:35 am
- Location: Chennai, India
- Contact:
opening a RandomAccessRecordFile in modify mode!
Ashirvad Babu
Tata Consultancy Services Limited
Mailto: ashirvad.babu@tcs.com
Website: http://www.tcs.com
Tata Consultancy Services Limited
Mailto: ashirvad.babu@tcs.com
Website: http://www.tcs.com