Function requires a valid ADT argument

When I delete one Calendar Entry, it will appear “Function requires a valid ADT argument” error message, any idea to fix or explain the error ?

Thanks!!

Subject: Function requires a valid ADT argument

Hi Chang.,

I believe this is a problem with the software. Please go through the below link. This may help you.

http://www.google.co.in/search?hl=en&q=Function+requires+a+valid+ADT+argument%2Blotus+notes&meta=

Subject: This error message typically surface when a LotusScript object is out of scope…

…and one known problem with the calendar once, was that the calendar entry can’t be open when you try to delete it from the web.

Bob

Subject: Function requires a valid ADT argument

I may be off here, but this is so often seen when a script uses code similar to…

set doc = docCollection.GetFirstDocument

call doc.remove()

set doc = docCollection.GetNextDocument(doc)

… in line 2 doc no longer exists, yet we ask for the doc after doc.

Turn on the debugger, and find the code that is dying.