closing db
jda
jda at his.com
Tue Mar 13 13:37:29 CDT 2007
>On 13/3/07 6:34 PM, "jda" <jda at his.com> wrote:
>
>Hi Jon,
>
>> Hi Ruslan,
>>
>> I find the if I delete a database in RB (f.delete), the "isOpen"
>> property is still set to true. A subsequent .close -> VException
>> (file not found).
>>
>> My question is, is it safe to just set the db to nil without doing an
>> explicit .close? That is, does setting a db to nil automatically
>> perform the close functions.
>
>But db destructor will do close if it is IsOpen = true
>
Good. Just to make sure I understnad, I can just do
myDB = nil
without doing a myDB.close first.
That helps a lot.
Thanks.
Jon
More information about the Valentina
mailing list