The category manager limits each record to one category, and limits the
total number of categories, so that the category of each record can be
stored in the record header for quick access. If you want to allow records
to be in more than one category, or if you want more categories, you need to
implement it yourself. You could, for example, define your own record format
that supports specifying two categories per record. You'll need to write
your own code for iterating through records in a given category, since the
data manager won't know how you store category membership information.
If you continue to use the rest of the category manager, you should beware
of the following: when the user deletes a category via the category edit
dialog, the database is scanned for records in the category to be deleted,
and if any are found, a warning dialog is presented explaining that these
records will be move to Unfiled. If the only records that are logically in
the category don't use the record header to store their membership, then the
OS won't know, and won't give the proper warning dialog. This might happen
if the records are also in some other category, and that other category is
the one stored in the record header. To avoid this, you can roll your own
category manager, complete with edit categories dialog, and so on, but
that's a lot of work.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/