gcw,

    Here is an example. This is also in Palm Programming a dev. guide on
page 145. The file is placed in the Palm\username\backup  folder.

  DmOpenDatabaseInfo(dbP, &dbID, NULL, NULL, &cardNo, NULL);

  DmDatabaseInfo(cardNo, dbID, NULL, &dbAttrs, NULL, NULL, NULL, NULL, NULL,

   NULL, NULL, NULL, NULL);
  dbAttrs = dbAttrs | dmHdrAttrBackup;

  DmSetDatabaseInfo(cardNo, dbID, NULL, &dbAttrs, NULL, NULL, NULL, NULL,
   NULL, NULL, NULL, NULL, NULL);



Brian




----- Original Message -----
From: "gcw" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, March 09, 2000 8:39 PM
Subject: palm database to pdb


> Sorry if this is a dumb question.
>
> I have a palm app that creates a database.  How can I get this database
> backed up to my PC as a pdb file ?  Can I get the next HotSync to do
> this for me ?
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to