Are there subtleties to QueryDocumentDelete that I’m not privy to? I put a tiny bit of code in the QueryDocumentDelete event of a database script, thus:
Print “Delete”
continue = True
What I’d expect is for the word “Delete” to appear in the status bar when I delete a document. However, that doesn’t happen. In fact, when I turn on the LotusScript debugger, it appears that the event isn’t even triggered, nor is the PostDocumentDelete event, which I gave similar code. Am I missing something important here? I think I am.
Subject: In order for the debugger to start for the QueryDocumentDelete event…
You have to get completly out of the database, even in designer.
Subject: RE: In order for the debugger to start for the QueryDocumentDelete event…
Bingo. Working much better now.
Subject: RE: QueryDocumentDelete?
You might have two database scripts. This is a bug that’s been discussed here. You’ll have to delete one of them.
Subject: RE: QueryDocumentDelete?
I’ll see if I can find one, but it seems unlikely. It’s a relatively new database, I’m the only developer to have touched it (to the best of my knowledge), and this is the first time I’ve gone into its database scripts.