"DIAMOND JEFF" <[EMAIL PROTECTED]> wrote in message
news:40637@palm-dev-forum...
> This makes it sound like you CAN have two databases exist simultaneously
with the same name.
> But in a previous discussion, several people insisted that you couldn't.
You can't have multiple databases with the same name in RAM on a single
device at the same time. I was suggesting that Mitch use the same database
name for his third version as he did for his second. That will cause it to
overwrite the second version automatically. The first version has a
different name, so it'll need to be deleted programmatically by the third
version.
If you have multiple databases with the same type and creator, but different
names, Launcher will use the one with the highest version number. (I'll go
into detail in the other branch of this thread.) So the latest version
effectively masks the old versions, but doesn't replace it. This is a
situation that should be avoided.
The moral of the story? Don't change the name of your app's database. The
user see's the tAIN resource, not the database name, so why worry about it?
--
Danny Epstein
OS Engineer, Palm Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/