>Hi,
> Will ON SHUTDOWN fire if VFP application terminated by ILLEGAL OPERATION or FATAL ERROR? If not, what should I do to clean up my table and program?
>
John,
Pray?
No you cannot depend on anything when illegal operation shuts down the system. There is nothing you can do to recover from it because VFP is in a state that the OS is pulling the plug on it. You can insure that backups are made regularly so that if any data gets damaged it is recoverable.