I have an application that creates documents using a lotus script agent. The script reads an input file and populates most of the fields on the form, the remaining fields on the form are computed fields based on the fields popluated by the script.
I would like to be able to reresh the document so that the computed fields get populated either at the time the form is orginally created or on some schedule later.
I have tried using the following commands in an agent.
@Command([EditSelectAll]);
@Command([ToolsRefreshSelectedDocs]);
@Command([EditDeselectAll]);SELECT @All
This works well when I run it from a view, but I get the following when I try to schedule this agent.
Started running agent 'Scheduled Refresh' on 10/15/2003 11:31:04 AM
Running on all documents in database: 1354 total
Found 1258 document(s) that match search criteria
Started running agent 'DOCREFRSH' on 10/15/2003 11:31:06 AM
Formula error: @Command and other UI functions are not allowed with this search type; please select 'Run once (@Commands may be used)'
0 document(s) were modified by formula
Done running agent 'DOCREFRSH' on 10/15/2003 11:31:06 AM
Done running agent 'Scheduled Refresh' on 10/15/2003 11:31:12 AM
Any help would be great.
Thanks
I would like to be able to reresh the document so that the computed fields get populated either at the time the form is orginally created or on some schedule later.
I have tried using the following commands in an agent.
@Command([EditSelectAll]);
@Command([ToolsRefreshSelectedDocs]);
@Command([EditDeselectAll]);SELECT @All
This works well when I run it from a view, but I get the following when I try to schedule this agent.
Started running agent 'Scheduled Refresh' on 10/15/2003 11:31:04 AM
Running on all documents in database: 1354 total
Found 1258 document(s) that match search criteria
Started running agent 'DOCREFRSH' on 10/15/2003 11:31:06 AM
Formula error: @Command and other UI functions are not allowed with this search type; please select 'Run once (@Commands may be used)'
0 document(s) were modified by formula
Done running agent 'DOCREFRSH' on 10/15/2003 11:31:06 AM
Done running agent 'Scheduled Refresh' on 10/15/2003 11:31:12 AM
Any help would be great.
Thanks