In my case I  insert a new record in Palm ToDo databse , but I hope the HotSync 
manager will ignore this record when hotsync in processing. so I set the record 
attribute dirty flag = 0 and use function DmSetRecordInfo() to peform this, 
Unfortunately, it did not take palce. why?



following is the codes:

          Word  curattr;

          int resetflag = 0xbf;          

          DmOpenRef DbRef;          



          DmRecordInfo (DbRef, 0, &curattr, NULL, NULL);

         curattr = ( curattr & resetflag);

         err = DmSetRecordInfo(DbRef,0,&curattr,NULL);
______________________________________


===================================================================
������ѵ������� http://mail.sina.com.cn
�����Ƴ����˶���Ϣ�ֻ��㲥���� 
http://sms.sina.com.cn/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to