by jayind » Sat Jul 12, 2008 4:58 pm
Hi ram23bal,
Suggestion: If you are not aware of the suggestion i am giving below and If you still want to have updated info in the same file...
1. Create a temporary file with the same parameters as the original file
2. read a record from original file
3. modify/update record contents as you wanted
4. Write updated record into temporary file. Continue steps 2 to 4 till the end of original file
5. Delete the existing original file and recreate it with the same parameters. I suggeste to keep a backup before deleting.
6. copy the temporary file contents into the recreated original file
Hope this helps...