>Subject: Database Finding and Naming
>From: "Steve Achelis" <[EMAIL PROTECTED]>
>Date: Fri, 27 Oct 2000 08:12:06 -0600

>I'm seem to be confused about the role of a database's name.

>I created a database on POSE (via CW C).  For this example I'll call it
>database1.pdb.  I can find and open this database using
>DmFindDatabase(0,"database1").  It has an appropriate creator ID (etc) and
>works fine.

>I need a duplicate database with a different name.  So I export the
>database1.pdb to my PC, rename it to database2.pdb, and install the new file
>back onto POSE (the export/install via POSE's shortcut menu).

>However, when I try to find the database using >DmFindDatabase(0,"database2")
>it returns zero.  Any ideas why?  Is it reasonable to rename a database like
>this?

>Thanks for any help!


The problem is that you are renaming the PC-representation of the 
PDB file, not the file itself.  I believe that within the PDB file on the
PC is the true Palm OS database name.  You are not affecting this
by renaming your PC file.

Roger Stringer
Marietta Systems, Inc.


-- 
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