--- Todd Cary <[EMAIL PROTECTED]> wrote:
> I believe I understand the "routine" HotSync, or at least 
> I think I do.  What is am not sure about is when I write 
> a Palm and set the bachup bit, is there a way to make the 
> app read a PDB file?

If the backup bit is set for a database, during HotSync it is saved on
the desktop as a PDB file.  An app on the desktop can read that PDB
file.  Also, if you write a conduit for the application, the conduit
can read records from the database on the handheld (and on the desktop)
during the sync.

> Joe wrote, "...and the person who receives the PDB has the 
> same app on his handheld, and if the version number of your 
> PDB is higher than the version number of their PDB...".  
> I am not clear about the "version number".  I understand the 
> "database type" and the "creator code" - not the version number.

The version number I was referring to is a sequential number that is
stored in a database to indicate which revision of the database it is. 
(Many databases just use 0.)  This revision number can be used to
manage multiple versions of a database.  You can retrieve this number
with DmDatabaseInfo() and you can set it when you build the database or
change it with DmSetDatabaseInfo().

I believe one of the Epstein's published the arcane rules by which the
OS decides which databases will overwrite which other database, so you
might want to search the archives.  The simplest rule is that a higher
version numbered db will overwrite a lower numbered db.
...
Ah, here are links to what Danny had to say about it on Feb 22&23,
2001:
  http://www.escribe.com/computing/pcpqa/m35331.html
  http://www.escribe.com/computing/pcpqa/m35377.html
  http://www.escribe.com/computing/pcpqa/m35390.html


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to