ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Notes functions
  • Nested browse in different views
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// 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").
Component: wd300mess.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help