> when I access Saved/Unsaved  Preferences database
> traditional way:
> 
> dbID = DmFindDatabase(card, "Unsaved Preferences");
> nonsavedDB = DmOpenDatabase(card, dbID, dmModeReadWrite);
> 
> it does not allow me to update/delete records.

I'm not sure why it's not working, but you shouldn't need to access the
database directly...

> How can I delete records in Saved/Unsaved  Preferences database?

Call PrefSetAppPreferences with NULL for the data pointer (prefs) and/or
zero for prefsSize. This is documented here:
http://oasis.palm.com/dev/kb/manuals/sdk/Preferences.cfm
but not in the Reference. I'll file a bug...
--
Danny @ Palm

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