Hi
I am using the following lotusscript code in my database open event to open and close a private on first use folder.
Dim WS As New NotesUIWorkspace
Call ws.OpenDatabase(Db.Server,Db.FilePath, “EditPRLinesNL” )
Call WS.CurrentView.Close
If I open the database and this code starts executing it opens the default view of the database instead of the pofu folders.
But if I use the same code in an agent and run it from the action menu it works fine.
Why is it not working in the database open event?
Regards