Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
session.CurrentDatabase would have to return nothing. Instead I can build e.G. a list dim dbApp List As NotesDatabase and check if it is already in the list or put it in the list dbApp(Databasename) ...
What would return the session.CurrentDatabase used in such a shared object? It is used by every LotusScript, and here it would have to return nothing.
Each form has up to 8 subforms with different scriptlibraries. These all use the "App" and "ErrorHandler" classes. I can't use static there.
If it's the same object each time, try using the static keyword. See https://www.intec.co.uk/lotusscript-and-the-static-keyword/. That will give you the result of applicationScope.