Depending on database design changes, you may need to refresh all documents stored in the database for the change to be applied. For example, say a new computed field is added to the form. For the change to be visible, each document in the database needs to be opened and saved. This routine illustrates how to create an agent that automatically refreshes all documents in the database.
Using the ToolsRefreshAllDocs command, every document in the database can be refreshed and saved.
To implement this solution, perform the following steps.
@Command([ToolsRefreshAllDocs]); @All