Odd File Error
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Nov 27 10:09:50 CST 2007
On 27/11/07 2:20 PM, "jda" <jda at his.com> wrote:
>> Yes. Exists property db.IsOpen
>>
>
> But that doesn't help. I open the db and of course isOpen = true. I
> can't get at that property without opening the db first, can I?
You can.
> If not, I have another idea. What about an open "counter" that
> increments every time a db is opened and decremented whenever a db is
> closed? That way I could do this:
>
> db.open(f)
> if db.openCounter > 1 then
> db.close
> db.nil
> return
> else
> work with db
> end if
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list