Hi All,
I have one schedule agent which run once a day and this agent fetch every document from this specified view and then check document cancellation date and compare to today date if this small then simple archive all document under this refno but some time it is skip some document mycode is like this below…
Set CXLview=db.GetView(“(CxlTours)”)
Call CXLview.refresh
Set CurrDoc = CXLview.getFirstDocument
----My all code here
Set CurrDoc = CXLview.GetNextDocument(CurrDoc) ’ next tour
While Not CurrDoc Is Nothing
So can any one suggest me what can i implement here so that it check all document in this view not skip any document.