Error 4063: <database> has not been opened yet

the lotus script code is:

Set dbdestinatario = s.GetDatabase(db.server, filename)

If Not(dbdestinatario Is Nothing) Then

set newMail = doc.CopyToDatabase(dbdestinatario)

end if

Sometimes, on the line “set newmail…:”, I have the error:

4063 database has not been opened yet,

but sometimes the code finish correctly.

What is the problem???

can you help me??

thank you in advance!

Subject: Error 4063: has not been opened yet

Try:

If dbdestinatario.isopen Then

Phil

Subject: RE: Error 4063: has not been opened yet

The really problem is “why sometimes I have the error 4063”???How I can avoid the error?

Subject: RE: Error 4063: has not been opened yet

Same problem for me here (server 6.5.2, clients 6.5.1, both Win32). The error message pops-up only sometimes. Different users though.

Only “solution” is to restart the Lotus Notes client, after the restart the same button/same LotusScript code IS working. This is very annoying.

Matej