What does the error message read? Is it "Unique ID not found"? Your typeID has to be a valid unique ID of the record once created within your gTypeDB database.
cec> // I am retriving typeId from buffer getting proper value cec> typeId = StrAToI(record->fields[FortressFieldType]); cec> then passing typeId to API below cec> DmFindRecordByID(gTypeDB ,typid,&typeindex); cec> and typeid and typeindex is declared as follows cec> UInt16 typeindex=0; cec> UInt32 typeId = 0 ; cec> //gTypeDB is DmOpenRef cec> I have no idea why this DmFindRecordByID is returning error. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
