>I am running a bunch of code under the click method, and from this method I am calling another form using a DO. In the help it is stated that when you run a DO control is passed to the new form and the calling form waits to complete itself until control is passed back. This is not happening for me.
>
>Here is my code.
>
>IF (lncount > 1)
> thisform.hide
> DO form frmlistl.scx WITH UPPER(lntemplast) thisform.show()
> goto lnrecno
>ENDIF
>
>The program is going on to the lnreco and giving me a syntax error because it is a NULL value. Can anyone tell me what is going on here??? Any help would be apprecated.
>
>Thanks
Your 'DO' form should have a windowtype of 1 (Modal).