>From: "Mr. Somnath Kulkarni" <[EMAIL PROTECTED]>
>Hi,
>How can I convert a given file, which can be in any format(txt,xml,html
>etc) into pdb format?

>Secondly, how can I access the information about any record in a database.
>for eg. type of a record,size of the record etc.
>If it is using DmRecordInfo(),How to get it exactly.

The main problem here is that you do not have the right concept of a Palm
"database". Palm databases are nothing more than a collection of memory
chunks that contain nothing more than a contiguous block of bytes/bits. The
interpretation of the contents of a database/record is entirely up to the
application program to which it belongs.

So, as far as converting a file to PDB format, there are as many ways to do
this as there are application authors :-). The same thing goes for accessing
records in a database on the Palm. You can get the size of a record easily
enough, but the "type" is known only to the application that created it
(unless its format is publicly documented).

That said, there are some ad-hoc standards that have come about for some
common types of databases. Many text-oriented applications use what is
called "DOC" format, and these databases can be read interchangeably by
different applications (Teal, iSilo, etc.). There are a number of programs
out there that can convert .txt, .html, etc. to DOC-formatted PDB files that
can be downloaded to a Palm.

  Doug Gordon
  GHCS Software



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

Reply via email to