open status
-= JB =-
sundown at pacifier.com
Thu Jan 17 03:46:41 CST 2008
You are right it says dbRef. But if the database has not
been opened how do you get a dbRef. Is the dbRef the
number returned when a database gets opened. If so
how do I check to see if database1 is opened and it has
not been opened yet. It would not have a dbRef to use.
-=>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