Help please - Exporting Advance Search Results

I have a form that does an Advance Search for information in the current database from the Client side only. There are 16 fields that get written back to the Advance Search form. Each one of the fields gets written to a multivalue field on the Advance Search form. In the last field I am capturing the Doc ID of the documents that helped to make up the report.

Now I need to be able to take the information written on the Advance Search Form and dump it out into Excel.

I have an Excel export agent that works from the view. It will create a document collection from documents selected in a view and export that information to excel.

I wanted to know if it is possible and if it is possible how can I create a document collect from the Notes ID’s that I have previously written to the Advance Search?

I basically need to know how to find a document using its document id and add it to a document collection.

Help please.

E

Subject: Help please - Exporting Advance Search Results

After searching, use

@Command( [EditSelectAll] )

to select the documents (i.e. the search-results) in the view. Then use

@Command( [ToolsRunMacro] ; “mymacro” )

to call an agent. In the agent, use the

db.UnprocessedDocuments

property to put the selected documents into a collection.