This is not a question. But it may save you sometime. :-)
Remember to zero this variable before call fds_record_find. fds_find_token_t ftok;
Actually it is mentioned in the SDK document. But people don't read manuals. LOL
For me, fds_record_find return SUCCESS the first time, but after that it always return NOT found because ftok is not zero anymore, and trying to look for the "next" record...