|
|
|
|
|
- Nested browse in different views
NotesDeactivateView (Function) In french: NotesDésactiveVue Disables the view currently handled in Lotus Notes. This view was selected by NotesActivateView. The next searches and/or browses will be performed in the entire Lotus Notes database. // Open the connection ConnectionID is int ConnectionID = NotesOpenConnection("Password", "MarsServer", ... "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")  // Specify the Lotus Notes database to use DatabaseID is int DatabaseID = NotesOpenDatabase(ConnectionID, "julia.nsf") ... // Activate the view NotesActivateView(DatabaseID, "MyCustomers") // Processes in the view named "MyCustomers" ... // Disable the view named "MyCustomers" NotesDeactivateView(DatabaseID, "MyCustomers") // Processes in the entire Lotus Notes database ...
Syntax
<Result> = NotesDeactivateView(<Session identifier> , <View name>)
<Result>: Boolean - True if the view was disabled,
- False otherwise. If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer Session ID to be used. This identifier is returned by EmailStartNotesSession or NotesOpenDatabase. <View name>: Character string Name of the view to disable. Remarks Nested browse in different views If a current view is found ("ViewA" for example), another view can be enabled ("ViewB" for example). In this case, the last view enabled ("ViewB" in our example) corresponds to the current view and the context of the first view ("ViewA" in our example) is stored. To perform browses and/or searches again: - in the first view ("ViewA"), this view must be re-enabled. The context of this view will be retrieved.
- in the entire Lotus Notes database, the last view enabled must be disabled ("ViewB").
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|