>
Show us some sample code which starts without the classes loaded, and leaves the classes in memory. Also see my message Message ID: 1496651 which is related.>
>Most of the code relies on the following:
>
>1. oCursors property with an Access method which returns a collections of cursor objects.
>2. a GetCursorObject() which is passed an Alias parameter, with the code below:
>
>FOR EACH loCursor IN This.oCursors
> IF loCursor.Alias = tcAlias
> loCursorObject = loCursor
> EXIT
> ENDIF
>ENDFOR
>
>You think it is not a good practice to do this?
>
>Dennis
As I wrote, you won't be able to release the object as long as you have any reference to it. In your case loCursorObject is a reference, which you must release before you will be able to release the object.