>>I have a business class that has a property DA_OBJECT referencing data access class. The DA_OBJECT is instantiated in the INIT method of the business class. I need to destroy the DA_OBJECT when the business class is destroyed. Since my business class is based on the CUSTOM class I am thinking to add the following in the Destroy method:
>>
>>
>>this.DA_OBJECT = .NULL.
>>dodefault()
>>
>>
>>Is the above correct approach?
>>
>>Thank you in advance.
>>
>>UPDATE: I am actually using VFP 9 SP1 (not SP2).
>
>Hi Dmitry,
>
>You may want to check
http://www.foxpert.com/docs/safeclasses.en.htmThank you, Naomi.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham