HELP: Problem with Lotus Script

Hi,I’m new to LotusScript, and I write a LotusScript only show a message when document is deleted:

Msgbox("Hello")

It ran well, of cause!

But when I modified the code to:

Msgbox("Hello !!")

The code seems not take effect until I restart Designer and Client.

Why doesn’t it take effect immediatly after I saved the code?

Subject: HELP: Problem with Lotus Script

You dont have to restart everything, but mostly you have to leave and reopen the database.

This is a problem that often occurs when using the ‘preview in Notes’ button. When you preview your databaste, then return to the designer, change code and then go to the Notes client again (with the database still open in it), the changes in the code won’t appear.

So it’s a good practice to exit the database after previewing it.