Hello

 I'm trying to move some records from a database to another but my
program crashes : here is the code of my move :

 h = DmQueryRecord(dbSync, home);

 DmDetachRecord(dbSync, 4, h);
 DmAttachRecord(dbActive, &home, h, NULL);

The 2 databases are well opened and home has a value of 4.

Should I delete the Record of the destination database before attaching
the new one ?

Thanks for your help.


-- 
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