Odd File Error

jda jda at his.com
Mon Nov 26 13:53:31 CST 2007


>  > So my question changes to this: how can I tell that a db is already
>>  open when I try to access it? I'm writing a function that will write
>>  to a remote db and it must be closed for this -- I need to be able to
>>  warn the user if it is open and unavailable for the write.
>
>* what you mean with "remote db" ?
>     you not using vserver as I know.

Hi,

Simply that the db being opened may be on a server somewhere (I'm 
writing a sync routine that syncs a user's db with it). RIght, not 
using VServer.

>
>
>* try search Valentina list archive
>
>         http://leafe.com/archives/search/valentina
>
>For "lock file". This is standard UNIX technique.
>

I know about the OS X issue, but Valentina might be able to tell a db 
is already open when you open it with Valentina itself

db.open(f)

No?

Jon


More information about the Valentina mailing list