Hi Adam,


From: adam davies 
> if(((error=DmCreateDatabase(0,"1DB-T018",
'T018','hosp',false))!=dmErrAlreadyExists)&&(error!=0))

> if(((error=DmCreateDatabase(0,"2DB-T018", 'T018',
'hosp',false))!=dmErrAlreadyExists)&&(error!=0))

I think that:
1. The database type you use here is 'hosp', may be you don't want to use the 
databasetype with
all the lowercase letters, those are reserved for Palm. ANW, your program still works 
if you use
it.
2. You use the same creator ID ('T018') and databadatype ('hosp') for both databases. 
I tried this
before and my program didn't even run. When I change to different creatorID OR 
different
databasetype (prefer), then it works. 

tnn



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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