>>>I have a form class that does most of my seek, look, add and edit work. I am calling a form based on it but with a parameter of ADD to only add one record. I set a flag in the init and then after the use has saved or canceled I check the flag do thisform.release(). The release() is getting hit but it does nothing. The code continues to run as though it was not there. Is this because I am trying to exit in the middle of a method?
>>>
>>>Thanks in advance.
>>>John.
>>
>>You can add RETURN:
>>IF flag=.t.
>> release thisform
>> return
>>ENDIF
>
>
>Thanks but it didn't work. Anyone else?
>John.
It doesn't work in a sense that form is not released or you still get all code running?
Edward Pikman
Independent Consultant