try 'thisform.release()' instead....
>>I'm explicitly opening tables in a form's
>
>Let me try again. I'm opening tables in the form's load method and trapping for errors at the same time. When an error occurs, I want to exit the form right away. I am using the "release thisform" command to try to stop the form from continue to load. This is not working right now.
>
>My code in the load method looks something like:
>
>on error do err_rtn
>use xxx
>on error
>if err_flg &set in err_rtn
> release thisform
> return
>endif
>
>While I can exit the load method this way, the form seems to be keep on loading. What method should I use? Thanks for your help.
>
>
>Paul