SavePartial() doesn't work inside OnStop()
Posted: January 9th, 2017, 5:43 pm
Hi, sorry if this has been answered before. I searched the forum but didn't find the answer.
I've tried the example from the help of OnStop(), but I'm getting this error message:

Here is the distilled code:
Using Windows CSPro version 6.3.2. I am getting this error message and the case is not saved no matter what field on the form was in focus at the time of closing the entry window.
Could you please tell me what I'm doing wrong?
Thanks in advance!!!
Alex
I've tried the example from the help of OnStop(), but I'm getting this error message:

Here is the distilled code:
Code: Select all
PROC GLOBAL
function OnStop();
savepartial();
stop(1);
end;
PROC USERS_FF
preproc
set behavior() exit on;
Could you please tell me what I'm doing wrong?
Thanks in advance!!!
Alex