open status

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jan 17 03:36:33 CST 2008


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]




More information about the Valentina mailing list