If a table uses categories, then the category names/numbers list will be stored in the table's AppInfo block. Unfortunately, you'll have to manually parse the data of this block to get your category list - the proprety is a TStream descendant, so you can always read the data into an array or memory block and then get the category names from it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all
i need to read the category fields from addressbook and todolist on a palm handheld
how can i do this ? is there a way with a remote Table?
havy any a code snipped?
please help me !!!
Thanks
Jrgen
You can use the Category property of the Fields property of the remote table to see the category of the current record.
thanks for your quick answer
so i can get an index of the category for the record but i need the name of the category eg "Private" ...
where can i read this ?
Thanks
Jrgen
If a table uses categories, then the category names/numbers list will be stored in the table's AppInfo block. Unfortunately, you'll have to manually parse the data of this block to get your category list - the proprety is a TStream descendant, so you can always read the data into an array or memory block and then get the category names from it.
is there any structure in the appinfo block ?
or is there any documentation abaut the structure off the adressbook appinfo block?
Thanks Jrgen
Check out:
http://www.palmos.com/dev/support/docs/fileformats/PDB_PRCFormat.html#939502
Thanks for help