Do not assign the uniqueID or uniqueIDseed yourself. Leave the uniqueID as 0 when you make the PDB on the PC. It will automatically be filled in when the PDB is downloaded to the Palm. If the ID is assigned and handled by the Palm, it is unlikely you will find duplicates. (note that the uniqueID is only unique for a given PDB file, not the whole Palm although I don't think you see many duplications) Check out the conduit developer forum's archive for several discussions on building PDB files and the uniqueID.
----- Original Message ----- From: "Sylvain Fonteneau" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 12:59 PM Subject: PDB generation > Hi all, > > I'm trying to write a application which generate PDB files (on my > desktop). Then I download these PDB in my Palm with instapp.exe and I > read them with a soft I wrote. Some records might be added to these > files (on the palm). For the moment, I plan to generate uniqueID simply > by incrementing a variable for each record (1, 2, 3, ...). > > Here are my questions : is there any chance that some uniqueID dupilcate > on the palm when user add some records ? Am I going to have problems if > this happen ? What value should I write in the uniqueIDseed field in > the PDB header ? > > thanks... > _________________ > Sylvain Fonteneau > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
