If you already have done the insert, retrieve, modify, and remove functionality than printing this should be fairly trivial.
To print single record in pseudo c++ code (sorry, havent looked at what language you are coding in:
code:
fstream FILE;
FILE.open(filename, ios: :out);
Class.GetRecord(pos, &record);
Print FILE record->name;
Print FILE record->item1;
Print FILE record->item2;
FILE.close();
to print all records int he same pseudo code:
code:
fstream FILE;
FILE.open(filename, ios: :out);
while(pos <= Class.Length()) {
Class.GetRecord(pos, &record);
Print FILE record->name;
Print FILE record->item1;
Print FILE record->item2;
++pos;
}
FILE.close();
Ok, thats was for saving/printing to a file.
Are you simply looking for a tutorial on file handling?
edit: damn smileys
edit: DOH! in VB.... sorry man.
[This message has been edited by cense (edited 12-17-2002).]