>Erik,
>I have gone thru my Unload event and since I noticed that my tables weren't unloading when the form was released I placed a FOR..ENDFOR loop using an AUSED( laOpen) array to SELECT ( laOpen[i,1]) then USE.
>
>This closed all the tables but in the Data Session window there is still a reference to "Unknown(3)" which was "frm214(3)" before the Unload event. When I hit the SQLCANCEL() function, I still get a GPF!!!
>
>I've now lost many marbles, since other forms I use in my application release the tables associated with its datasession.
>
>Michael Haggerty
>amkhag@erols.com
>haggertm@pwba.dol.gov
And the form.datasession.autoclosetables property is .T.?
I am still unclear on what part SQLCANCEL plays in what you are trying to do...
Erik Moore
Clientelligence