I would store the names of each of these databases  into
a) an "index" database, or b) a prefs record then store the
index of the "current" on as a feature (or in the index).  You
can read the # and increment it, then check the index list
for the name of the next db.

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!


Bulent Gecer wrote in message <33531@palm-dev-forum>...
>
>My application maintains a number of databases that all have the same type
>and creator, and version number.
>Now, I would like to open these successively, but just a single and
>different one each time I launch my application
>from the application launcher.
>
>How would I do this?
>
>I'm trying to use
>DmGetNextDatabaseByTypeCreator(newSearch, stateInfoP, myDBType, myAppType,
>latestVer, &cardNo, &dbID)
>with newSearch=true the first time I launch my application and invoke the
>function and then false the next number of
>times I launch my application.  I'm trying to store the stateInfoP in a
>feature to be able to continue the search
>from the last invocation but I can't seem to do it right.
>
>Any suggestions?
>
>Thanks in advance!
>
>/Bulent Gecer
>
>
>
>



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