> I have a problem that I don't know how to solve.  I want to use two
> databases in the application I am working on and can't figure out how to
> deal with them correctly.  I know the name of each database, the creator ID
> of the application, and the type.  Obviously, I can't use
> DmOpenDatabaseByTypeCreator since I have two databases.  I thought about
> DmFindDatabase but I don't know which card it is in (I would rather not
> assume 1 card).  Finally, I thought about DmGetNextDatabaseByTypeCreator but
> how do I figure out which database is which?
> 
> I assume some others have done this already.  Any suggestions?

Use DmGetNextDatabaseByTypeCreator to iterate over the set testing each
one for some distinguishing characteristic, e.g. the name.

--Eric House

******************************************************************************
* From the desktop of: Eric House, [EMAIL PROTECTED]                            *
*     Check out Crosswords for PalmOS: <http://www.peak.org/~fixin/xwords>   *
*          "The instructions said 'Win98 or better' -- so I installed Linux" *
******************************************************************************


Reply via email to