open status
-= JB =-
sundown at pacifier.com
Thu Jan 17 03:58:46 CST 2008
Would the proper way to get the open status be to get a
list of all open dbRefs and do a repeat to see if any of
them return True? Or is there a better way?
-=>JB<=-
On Jan 17, 2008, at 1:36 AM, Ruslan Zasukhin wrote:
> On 17/1/08 5:19 AM, "-= JB =-" <sundown at pacifier.com> wrote:
>
> Hi JB,
>
>> I am trying to check if a database is open or not.
>>
>> I use the following:
>>
>> on mouseUp
>> answer file "Select DB:"
>> put it into dbPath
>> if dbPath is empty then exit mouseUp
>> put VDataBase_IsOpen(dbPath) into var
>
> You sure this method require PATH ??
>
> May be dbRef ?
>
>> put var
>> end mouseUp
>>
>> I have checked and dbPath contains the proper
>> path for the database I select.
>>
>> If the database is open this should put True into
>> the message box but all it does is show an empty
>> message box.
>>
>> Anyone know what I am doing wrong or how to
>> check for the open status of a database?
>
> --
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
More information about the Valentina
mailing list