In article <[EMAIL PROTECTED]>,
 "Victor ." <[EMAIL PROTECTED]> wrote:

> Dear all:
> 
> I want to save the last active form when i switch to
> another application. The problem is I have many global
> variables associated with the form and also some
> database references. Please tell me how to save the
> session so that next time i go to my application, I
> will have the previous session global variables, and
> form states intact. Thanks thanks a lot.
> 


It is a very bad idea to save database references as they can change 
between launches of your application. Each time you open your 
application, you need to re-open your databases and use the DmOpenRef's 
during that session only.


-- 
Scott Gruby
Palm OS Certified Developer
Available for contract development work.
[EMAIL PROTECTED]
<http://www.notifymail.com/palm/>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to