open status

-= JB =- sundown at pacifier.com
Wed Jan 16 21:19:23 CST 2008


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
   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?

thanks,
-=>JB<=-


More information about the Valentina mailing list