"Function requires a valid ADT argument"

Hi!

When I try to delete documents from a database from LotusScript I get the following error message:
"Function requires a valid ADT argument"

What does it mean?
mrc121197Asked:
Who is Participating?
 
ghassan99Connect With a Mentor Commented:
This means you are passing an illegal parameter, possibly a null object reference.  Paste your code it will make things clearer.
0
 
mrc121197Author Commented:
Hi ghassan99!
I have solved it now. First I tried to loop through a view and delete all the documents in that view with doc.Remove(True). Because I got the error message when I did that I tried to put the documents in a document collection and then delete all docs in that collection. That worked fine. I guess you are right about passing an illegal parameter so I give you your points.

Thank you!

/mrc
0
All Courses

From novice to tech pro — start learning today.