>Subject: Consequences of ignoring appStopEvent???
>From: "Avilla, Dane" <[EMAIL PROTECTED]>
>Date: Fri, 30 Nov 2001 10:33:42 -0500
>X-Message-Number: 19
>
>I've got an unusual requirement for an application which requires strict
>data validation on Palm devices.  As such, all records must be validated
>>before they are saved, and the customer doesn't want to lose any data that
>may have been entered.  So the application cannot allow users to leave the
>app while editing a record, as the record could be left in an invalid state,
>and then synced to a server where it would create havoc among back office
>systems, etc.
> SNIP

Actually not that unusual a request.

By all means trap appStopEvent.  It'll catch 95% of the problem.
But its not really necessary

You'll also need to keep track of the program status for when the
user does a RESET or your program fails, and then put some code
in the sync software to not sync a database with incomplete data.
That should catch the other 5% (or if you don't bother with trapping
appStopEvent it'd trap all 100%)

Roger Stringer
Marietta Systems


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