Hello Michael,
The syntax for DmDeleteDatabase is :
Prototype : Err DmDeleteDatabase (UInt cardNo, LocalID dbID)
Parameters : -> cardNo Card number the database resides on.
-> dbID Database ID.
Result : Returns 0 if no error, or dmErrCantFind,dmErrCantOpen,
memErrChunkLocked, dmErrDatabaseOpen, dmErrROMBased,
memErrInvalidParam, or memErrNotEnoughSpace if error
occurs.
Comments : Call this routine to delete a database.
This the database, the application info block, the
sort info block, and any other overhead information
that is associated with this database.
This routine accepts a database ID as a parameter.
To determine the database ID, call either
DmFindDatabase or DmGetDatabase with a database index.
Regards,
Neelesh.
"Michael Taylor" <[EMAIL PROTECTED]> wrote:
What is the syntax for DmDeleteDatabase().
I'm calling the function with these parameters
DmDelteDatabase(DBType,DBCreator);
But the database is not deleted. I can still open it and retrieve data from
it.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/