Hello Alan,

> I'm used to database (or file) fields
> made up of strings, integers, memos, etc. I don't understand how
> fields made up of object lists would work ...

In fact it is the same as with database. Every TList hold a pointer to a
record, every record that needs a reference to another object need a
field containing that reference. For reference you can make small
TAutoInc class to give each record an exclusive ID. For saving you save
every list in a separate file (euh not the list, but all the records of
that list). On loading you construct them again.

For saving you can use File of TTheItems where TTheItems is the TRecord
type of that individual list.

---
Rgds, Wilfried
http://www.mestdagh.biz

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to