Paradox Community

Items in pnews.paradox-programming

Subject:Re: attach unattach
Date:Sat, 30 May 2020 14:22:13 -0400
From:Kevin Baker <shcsbaker@gmail.com>
Newsgroups:pnews.paradox-programming
Yeah, in the end I feel like it's better coding.

On 5/30/2020 2:51 PM, Peter wrote:
> unAttach(), I do that too.
> 
> Not sure of the difference but I usually do an unAssign() as well.
> 
> 
> 
> On 5/30/2020 3:07 AM, Kevin Baker wrote:
>> I've been cleaning up code and have been careful to ensure any tcursor 
>> that are opened are also closed.  Should I also unattach objects?  For 
>> example, when I see tbl.attach("mytable"), should I also add 
>> tbl.unattach()?  Could this be another area where a memory leak could 
>> occur?
>>
>> Thanks,
>> Kevin


Copyright © 2004 thedbcommunity.com