I was under the impression that there was a finite set of db types.  For
instance, there is 'data' or 'appl' or 'res'.  Can you say 'dat1' and 'dat2'
instead?  That's even easier than DmFindDatabase and DmOpenDatabase...  Can
someone from Palm chime in on this one.

Elia

-----Original Message-----
From: Mark Nudelman [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 21, 1999 8:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Database Problem


Bozidar Benc wrote:
> I'm usually using the same type and creator for all databases I need for
an
> application. If I know exactly which database to open, then I'm using
> DmFindDatabase, assuming zero for card number.

Perhaps I'm misunderstanding the purpose of the database "type".  I
thought it was used exactly for this purpose: to distinguish between
multiple databases with the same creator.  I have two databases in my
app, and I give them different types.  Then I just use
DmOpenDatabaseByTypeCreator to open each one.  Is this wrong?  If not,
why would you give the same type to different databases?
--Mark


Reply via email to