Refresh documets in the particular view, schedule agent

Hi all,

here i have a problem, when my schedule agent is run, i want to refresh the all docs in the view, i can use toolrefreshalldocs, i think it will refresh all docs in the database, i want to refresh only particular view documents with lotus script not with formula.

so please let me know the solution for this.

Subject: Refresh documets in the particular view, schedule agent

Get a handle to the collection of documents in the view. Loop through them, and on each do the following:-

call doc.computeWithForm(true,true)

call doc.save(true,true)

This will update all documents with any changes.

Subject: Refresh documets in the particular view, schedule agent

Get a handle to the collection of documents in the view. Loop through them, and on each do the following:-

call doc.computeWithForm(true,true)

call doc.save(true,true)

This will update all documents with any changes.