General information
Category:
Object Oriented Programming
>>>>In the access method I do the following.
>>>>
>>>>RETURN EVAL( "THISFORM.List1" )
>>>>
>>>>Now in the command button'c click event I have the following code:
>>>>
>>>>=MESSAGEBOX( THISFORM.poList.Name )
>>>>
>>>>Does this idea fall into the scheme of what you are doing, trying not to leave any dangling object references?
>>>
>>>I don't see here what NULLs the object reference in THISFORM.poList property
>>>In my case now it is a local variable which exists only when the method works.
>>>
>>>Nick
>>
>>
>>To be honest, I don't know how this works. But what if the object reference is never stored in poList because every time you access, you're returning EVAL( "THISFORM.List1" ). If that's the case, you won't need to set poList to NULL because it never really had an object reference.
>
>If it is not stored, there should be no worries. :) Then you don't need poList property at all.
That may very well be true. That was why I was wondering if doing the above would fit into the scheme of what you are doing. It looks like you're saying it does not. :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only