Hi All ,I have a doubt that what is the meaning for checking db.Isopen?.
Like what the system actually checks for this one.
Thanks
Hi All ,I have a doubt that what is the meaning for checking db.Isopen?.
Like what the system actually checks for this one.
Thanks
Subject: database.isopen
Have You read the Designer Help? I think it’s pretty clear.
The NotesDatabase object is automatically opened when using for instance; session.GetDatabase(…), so then it is usually no real meaning with checking if the database is opened. It should be if the object is set.
But if You open the database thorugh NotesDbDirectory.GetFirstDatabase or NotesDbDirectory.GetNextDatabase then the database isn’t opened by default, and You must check if the database is opened before trying to access any property/method.
hth