On 23-Mar-2000 Paul Taylor wrote:

> do it... Does anyone know of a way to find the total number of categories
> that are in a particular database?  Is there some function call that I've
> overlooked?

I saw your other email about CategoryCreateList and that is basically what I
have used since I also display a list.  Another way would be to call
CategoryGetNext successively until it doesn't find any more categories. 
Basically you start with dmAllCategories and then you stop when you reach
dmUnfiledCategory because it will wrap around at that point.

The "feature" about CategoryGetNext is that it only returns categories that
have records in them.


/* Chris Faherty <[EMAIL PROTECTED]> */

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to