In article <33873@palm-dev-forum>, "Philip D. Wasson" <[EMAIL PROTECTED]> wrote:
> 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.)
>
> ______________________________________________________________________
> Philip D. Wasson pwasson@maned dot com
> Software Engineer
> Managing Editor, Inc.
You can use any type you want, as long as it is not all lower case chars
(e.g. 'text'), because these are reserved by Palm Inc. (but 'Text' or
'TEXT' is ok). And you don't have to register them. But I would suggest to
use them similar to the filename extension on Windows or the type on MacOS
to distinguish between different kind of databases. Databases of the same
kind should have the same type, but of course a different name.
--
Remo Hofer <[EMAIL PROTECTED]>
http://www.geocities.com/SiliconValley/Cable/5206/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/