FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
amar ku das 16.Jun.16 12:49 AM a Web browser Notes Client 7.0.3 Windows Vista
I have one view where my schedule agent run and from this agent i have removed document which are processed but from 10 days i have facing problem that document is processed but document not removed from view when i just refresh manually then document removed otherwise agent was stuck i have not able to understand what is the solution for this
My Code is
Set AlertVw = Alertdb.GetView("vwUpdAlerts")
AlertVw.AutoUpdate = False
Set Alertentrycoll = AlertVw.AllEntries
If Alertentrycoll.Count > 0 Then
For i = 1 To Alertentrycoll.Count
Set Alertentry = Alertentrycoll.GetNthEntry(i)
If Alertentry.IsValid Then
Set Alertdoc = Alertentry.Document
AlertVw.AutoUpdate = True
Here i have called Refresh after Loop but in my program not en because my document is not removed from view so that program going to be nested loop not come up out of loop .