I’ve created very simple code for postOpen event of Datagase:Sub Postopen(Source As Notesuidatabase)
Messagebox(“test”)
End Sub
But the Notes client dosen’t execute this script. I’ve tried to run Debug, but the Debug ignores the script also.
Please help!
Thanks a lot!
Subject: PostOpen event dosen’t run
Silly question, but…
How are you opening the document? Directly from a view, from a doclink, creating a new one in script?
Also, put a Stop line before your messagebox to make the debugger stop (if it gets to the PostOpen event!)
Mike
Subject: PostOpen event dosen’t run
since notes caches its data, you may have to shut down the designer and the client for the code in the postopen of the dB.
john