At 11:42 AM -0700 5/21/99, Chris Faherty wrote:
>>>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'
It's finite, but large. I'm not sure if it's documented, but you probably
want to stick to uppercase character types for "private" databases. Palm
considers the all-lowercase types and creators to be reserved for future OS
use.
e.g. database types like 'appl' have special requirements.
>Wouldn't that break programs like BeamBox which let you view files in
>categories.. i.e. Apps versus Data? They would wind up being in "other" all
>of the time instead of "data" like the rest of the files, yuck.
Right -- stick to the commonly used DB types if you want the database type
to carry any meaning. You're probably better off using the database name
(rather than type and creator) to distinguish multiple databases that have
the same kind of data in them.
Just remember to set the onlyLatestVers flag to FALSE when you're
enumerating if you know you have multiple databases with the same type and
creator, or else you'll only get one DB no matter how many exist.
--Bob