DmRecordInfo (dbP, rec, &attr, NULL, NULL); attr |= dmRecAttrDirty; DmSetRecordInfo (dbP, rec, &attr, NULL);
Can anybody see a reason why this code would not set the dirty bit assuming that dbP is an open DB, rec is a valid record number in that DB and attr is a UInt16? I set it, and then I check it again with another DmRecordInfo call and it is still set, but if I exit the app and manually check the record with a program like RsrcEdit the dirty bit is not set (this is a record that previously had it's dirty bit cleared at the last HotSync). If anyone has some insight on this let me know. Thanks, trv -- Trevor Menagh | Software Engineer [EMAIL PROTECTED] | iambic, Inc. (408) 367-1600 x20 | Software for handhelds www.trevreport.org | www.iambic.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
