Thursday, September 3, 2009

ADDING RECORDS TO AN INDEXED FILE

When you need to add records to an indexed file, you should open the file in I-O mode and just write new records.

Note : Keys in an indexed file must be unique. That is to say, no two records can have tha same key. There is, however, a technique to have duplicate keys in an indexed file, but this will be covered later.