David Huisman wrote:
{Quote hidden}>
> I am looking for a suitable method for storing and navigating through a tree
> type data structure in a PIC micro based application.
>
> The data is layered as shown below, each blcok and sub blosks are titles
> only (like folders) and the actual data blocks are the very lowest branch in
> each case.
>
> Main Section
> Sub Category
> Sub Sub Category
> Blocks of data
>
> I have several ways to store and access the data in the EEROM using pointers
> and a lookup list of sub block titles but I am having trouble figuring out
> how to sort the large data base on the PC. I need to be able to add and
> modify sub block titles and then place data in appropriate areas.
> I am using Delphi version 4.0.
>
> Any help gratefully received
>
> Regards
> David Huisman
Just a thought....
Place the items in a StringList and set the sorted property to True.
That will keep them sorted alphabetically.
There are database components in D4, but I haven't had the need to use
them yet.
Maybe even use a tree view component.
There would be lots of ways to sort and store and view the data
depending on your needs.
--
Best regards
Tony
http://www.picnpoke.com
spam_OUTsalesTakeThisOuT
picnpoke.com