----- Original Message -----
From: "Philip D. Wasson" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, December 22, 2000 6:19 AM
Subject: strategy of database types


> My application needs a whole bunch of small databases to contain the
> information it references and edits. Obviously, all of these will have my
> app's creator code, but I'm not sure whether to differentiate them by type
> or just name. My first impulse was that each could have a different type
and
> I could get at them that way, but I've been getting some vibes that this
> isn't the correct Palm way of doing things. I haven't seen a discussion
> anywhere (certainly not in the Palm OS Companion *cough*) that says
exactly
> how database types are meant to be used. Can anyone suggest what the
"right"
> way to do this is, or point me at a discussion of how to use database
types?
>
> (Since Palm didn't think to create a typename for database types, it's
> useless to search the archives for this. Search on "type" or "database
type"
> and of course I get a list of every article that mentions datatypes,
> databases, and perhaps, somewhere, database types.)

why not fully use the database type but u have to register all the database
type you make example... your database type is "Text" then you can use the
following for your program... "Text", "tExt", teXt", "texT"... etc since
it's case sensitive but you have to register all of them to avoid conflict
should someone else register the database type.... or you should reserve 1
entry space in your database... the first entry of your database should
contain an "id" indicating what type of database it is...



_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.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