// I am retriving typeId from buffer getting proper value typeId = StrAToI(record->fields[FortressFieldType]);
then passing typeId to API below DmFindRecordByID(gTypeDB ,typid,&typeindex); and typeid and typeindex is declared as follows UInt16 typeindex=0; UInt32 typeId = 0 ; //gTypeDB is DmOpenRef I have no idea why this DmFindRecordByID is returning error. Regards, chintan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
