PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Nested browse in different views
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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")
...
// Enable 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. The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session Identifier>: Integer
Identifier of the session to use. 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").
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mess.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment