Database script - queryclose not invoked

Hello,

Other->Database Resources ->Database Script->QueryClose

I assumed that any script put in that location would execute upon the closing of the database. However, when I run the script through the debugger, or add a message box there - I see that it isn’t executed.

When/under what conditions is it executed?

TIA,

Leonardo

Subject: database script - queryclose not invoked

It is executed when the database is closed.

My guess is that you have the database open in the designer. So although you close the database in your client, Notes sees it still open in the designer. Close it there also and your messagebox will show.

Regards,

René

Subject: RE: database script - queryclose not invoked

Thank you - your guess was right!