I have a Frameset using “NotesView” and “NotesPreview” frames. I have a button on the document in the “NotesPreview” frame with the following code:
@SetTargetFrame(“NotesView”);
@Command([OpenView] ; @Subset(@ViewTitle;1));
@Command([ViewExpandAll]);
@Command([NavigateNext])
This effectively moves focus in the view to the next document, and changes to that document in the “NotesPreview” frame.
Now when I add:
@Command([ToolsRunMacro] ; “ReleaseAndBatch”);
as the first line of the formula, the document in the “NotesPreview” frame changes to the next document correctly, but the view no longer changes focus to the next record. Any ideas? Do I need to post my agent code?