From: "Clive Walden" <[EMAIL PROTECTED]>
> Chris,
> > The best answer IMHO is not to investigate this yourself.  There
> > are a number of tools for building PDB files and there's little reason
> > to write this code again.
> 
> Thanks for the advice. However, that is not an option open to me 
> for reasons I can not go into now.
>
That's fine, you should still be able to use the source code for 
reference. I'm sure I remember seeing the par source somewhere.  
The only problem I recall from my work was that some of the source 
out there didn't fullly explain why some things were done (and since
some of the alignment and byte-swapping can be nasty that's more
of an issue than it would be otherwise).

> I thought (wrongly?) that these tools did not let you build your own 
> records inside Palm records.  For example one of my tables will have 
> more than 400,000 records in it which is more than the maximum 
> Palm records.
>
It depends on the tool.  Some tools are built to simplify dumping
data from csv or Excel file into pdbs and these build 'record-per-
row' databases.  Others, such as par and PDBGo, provide more
power to pack any binary content into the database but require 
more programming knowledge on your part.

> > The Palm "PDB and PRC Database Formats" document I last
> > used has a diagram that shows the AppInfo block ahead of the
> > optional SortInfo block immediately followed by the database
> > records.
>
> Do you remember which document that was? 

http://www.palmos.com/dev/support/docs/fileformats/PDB+PRCFormat.html

found by doing a search in the developer area of www.palmsource.com,
in case the url doesn't work for you.

Chris Tutty

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

Reply via email to