Hi fellow coders:

I want the program to quit completely if there is an
error when the user clicks on save button at the time of
the error. I have an on error routine that intercepts
the error with error info. I know I can code error
handling, however I want to program to be killed in the
error rountine - no questions asked for now until I get
the time to do the error handling for buffered table
conflicts.

I do issue a 'QUIT' in the error routine.

When there is an error it does call the error routine,
then it returns to the saves button on click method and
continues with the program code and then quits.

I want the program to be killed immediately in the error
routine.

How is this done or wher hav I gone wrong?

Thanks in advance.




I have an on error routine that is called etc...

Re: Kill the program by Pierre

Pierre
Wed Nov 26 01:40:00 CST 2003

Hello vp,

if you're running with a READ EVENTS in you main.prg, just add CLEAR EVENTS
in your error routine.

Pierre


"vp" <anonymous@discussions.microsoft.com> schrieb im Newsbeitrag
news:0fa001c3b396$83893720$a001280a@phx.gbl...
> Hi fellow coders:
>
> I want the program to quit completely if there is an
> error when the user clicks on save button at the time of
> the error. I have an on error routine that intercepts
> the error with error info. I know I can code error
> handling, however I want to program to be killed in the
> error rountine - no questions asked for now until I get
> the time to do the error handling for buffered table
> conflicts.
>
> I do issue a 'QUIT' in the error routine.
>
> When there is an error it does call the error routine,
> then it returns to the saves button on click method and
> continues with the program code and then quits.
>
> I want the program to be killed immediately in the error
> routine.
>
> How is this done or wher hav I gone wrong?
>
> Thanks in advance.
>
>
>
>
> I have an on error routine that is called etc...
>
>



Re: Kill the program by vp

vp
Wed Nov 26 10:10:02 CST 2003


Thanks Pierre


>-----Original Message-----
>Hello vp,
>
>if you're running with a READ EVENTS in you main.prg,
just add CLEAR EVENTS
>in your error routine.
>
>Pierre
>
>
>"vp" <anonymous@discussions.microsoft.com> schrieb im
Newsbeitrag
>news:0fa001c3b396$83893720$a001280a@phx.gbl...
>> Hi fellow coders:
>>
>> I want the program to quit completely if there is an
>> error when the user clicks on save button at the time
of
>> the error. I have an on error routine that intercepts
>> the error with error info. I know I can code error
>> handling, however I want to program to be killed in the
>> error rountine - no questions asked for now until I get
>> the time to do the error handling for buffered table
>> conflicts.
>>
>> I do issue a 'QUIT' in the error routine.
>>
>> When there is an error it does call the error routine,
>> then it returns to the saves button on click method and
>> continues with the program code and then quits.
>>
>> I want the program to be killed immediately in the
error
>> routine.
>>
>> How is this done or wher hav I gone wrong?
>>
>> Thanks in advance.
>>
>>
>>
>>
>> I have an on error routine that is called etc...
>>
>>
>
>
>.
>