Has anyone ever tried to write a program that searches the vault to find all OWNED documents? I want to know who all has files checked out. When I use the Advance Search in PDM, I set the options, "Owner" as Property, "Is not Empty" as Condition, and search. It gives me the number of files that are owned. I have two files owned so the result should be 2.
With this line of code...my results are 0
Options.SearchCriteria.AddCriteria(pdmwOr, pdmwOwner,"Owner", pdmwIsNotEmpty, "") With this line of code...my results are 41 Options.SearchCriteria.AddCriteria(pdmwOr, pdmwOwner,"Owner", pdmwIsNotEmpty, False) With this line of code...my results are 41 Options.SearchCriteria.AddCriteria(pdmwOr, pdmwOwner,"Owner", pdmwIsNotEmpty, 0) With this line of code...my results are 39 Options.SearchCriteria.AddCriteria(pdmwOr, pdmwOwner,"Owner", pdmwIsNotEmpty, "michels") What am I doing wrong??? Doc1 is attached to see the options I have set. Thanks, Rodney