> > if (delete){
> > DmCloseDatabase(dataDB); // close the database
> > dbID = DmFindDatabase(cardNo,dataDBName); // find the database ID
> >
> > DmDeleteDatabase(cardNo,dbID); // delete database
I would guess that DmCloseDatabase returned an error (some records
still locked) which you didn't check. So youi are trying to delete a
database which is stil being referenced. As you are about to quit the
app and the reference is probably from inside your app, it doesn't hurt
really, but it's still bad style :-)
With kind regards / Mit freundlichem Gruß
Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED] http://www.klawitter.de
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/