Boolean CheckCat(db, index, targetCat) {
Word RecAttr;
DmRecordInfo (db, index, &RecAttr, NULL, NULL);
return (RecAttr & ~dmRecAttrCategoryMask) == targetCat;
}
-- John Schettino
Palm OS Programming for Dummies: http://schettino.tripod.com
-----Original Message-----
From: Gaurav Palvia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 11, 2000 3:43 AM
To: palm-dev-forum
Subject: is there any function search a particular record in a given
category
is there any function which takes a record as input and check whether it is
in a given category or not.