>Hi, Tony,
>
>COuld you tell me what causes the fatal error(Exception C0000005)? Is it RAM related? sometimes I ran the same application without error, and sometimes the error occured.
>
>Do you know how to optimize my VFP application? like how to release memory.
>
>Thank you very much and have a nice day,
>
>Kevin
You really need to trace the error down to which line of code is causing the problem. I've seen this error occur when I had corrupted data in a memo field, and (I don't remember the exact details) when a view had a SET FILTER expression, but the variable in the filter expression was released.
If you can determine which line of code is causing the problem, you can probably figure out the solution.