Hier ein KBASE Beitrag dazu:
How to Fix Old Documents That Have "Store Form in Document" Selected
Product:
Lotus Notes > Lotus Notes > Versions 6.0, 5.0, 4.6, 4.5, 6.5
Platform(s):
Mac OS, Windows
Doc Number:
1084841
Published 28.12.2004
Technote
Problem
Changes to a form do not affect previously composed documents if the form uses Store form in document. That is, older documents in the database do not reflect the new Form changes. How can you update the documents to reflect changes made to the form?
Solution
To update existing documents that were created with the Store Form in Document form option with a new form design, follow the steps below. Note: These steps are also effective for forms which contain subforms.
1. Create an agent with the following settings:
- When should this agent run: Manually from the Action Menu
- Which document(s) should it run on?: All documents in the database
- Formula:
SELECT $TITLE="Form Name";
FIELD $TITLE:=@DeleteField;
FIELD $INFO:=@DeleteField;
FIELD $WINDOWTITLE:=@DeleteField;
FIELD $BODY:=@DeleteField;
FIELD FORM:="Form Name";
Note: If the form has an alias then the alias name should be specified rather than the form name.
2. Refresh the affected documents.
Notes does not have a menu option to execute Tools, Refresh Fields. You must create a Toolbar Button in Notes 6.x or a SmartIcon in Notes 5.x and 4.x that executes the @Command for either "ToolsRefreshAllDocs" or "ToolsRefreshSelectedDocs". (The "ToolsRefreshSelectedDocs" command is preferred when you need to update only certain documents, but you need a method to select those documents (such as a view with a selection formula).)
Steps to create a Toolbar Button in Notes 6.x and 4.x that executes the "ToolsRefresh" command:
a. From the menu, select File, Preferences, Toolbar Preferences
b. Select "Customize" tab.
c. Select "new" then "button"
d. Edit the description field to read "ToolsRefreshSelectedDocs" or "ToolsRefreshAllDocs".
f. Select "Commands & Functions"
g. Select either "ToolsRefreshSelectedDocs" or "ToolsRefreshAllDocs."
h. Select Paste.
i. Select OK.
j. Select Done.
Steps to create a SmartIcon in Notes 5.x and 4.x that executes the "ToolsRefresh" command:
a. From the menu, select File, Tools, SmartIcons.
b. Select "Edit Icon."
c. Scroll to the end of the icon list.
d. Select an icon labeled "Macro Button."
e. Edit the description field to read "ToolsRefreshSelectedDocs" or "ToolsRefreshAllDocs".
f. Select Formula.
g. Select "Add @Command."
h. Select either "ToolsRefreshSelectedDocs" or "ToolsRefreshAllDocs."
i. Select Paste.
j. Select OK.
k. Select Done.
Andreas