I would like to recalculate min/max/sum/average of the currently selected views and display the only in an action of the toolbar (like Excel does it).
Have it working so far by creating a NotesTimer on NotesUIView.PostOpen, process all docs in NotesUIView.Documents and write the results to the Notes.ini which is then picked up by the view action label formula.
When the values change between timer callback invocations, I run NotesUIWorkspace.ViewRefresh to display the changes in the Notes UI.
Would love to avoid this timer based solution with unnecessary doc access. Please add an onSelectionChanged event to NotesUIView.
Karsten Lehmann, Mindoo GmbH