Thanks Baxter. Seems you need to get it before you OR it and set it. Works now.
"Kristian Austad" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > It's probably just me having a bad day but I can't get my app to set the > backup attribute after creating a database. > > UInt16 attribute; > LocalID myID; > > DmCreateDatabase(0, DBName, CreatorID, 'data', false); > myID=DmFindDatabase(0, DBName); > attribute=dmHdrAttrBackup; > DmSetDatabaseInfo(0, myID, DBName, &attribute, NULL, NULL, NULL, NULL, NULL, > NULL, NULL, NULL, NULL); > > Anyone see what's wrong with my code? > > Regards, > Kristian > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
