PickListStrings method
Displays a modal window that contains a view you specify, from which you can select one or more documents. This method supports the @Picklist function.
Note This method is new with Release 5.
Defined in
NotesUIWorkspace
Syntax
Set stringArray = notesUIWorkspace.PickListStrings( type%, multipleSelection [, server$ ] [, databaseFileName$ ] [, viewName$ ] [, title$ ] [, prompt$ ] [, column% ] )
Parameters
type$
Integer. The type of view you specify. The legal values for this parameter are:
PICKLIST_NAMES Displays the names dialog
PICKLIST_ROOMS Displays the rooms dialog
PICKLIST_RESOURCES Displays the resources dialog
PICKLIST_CUSTOM Displays the dialog for the view that you specify
Note The following parameters are needed only when Type takes the legal value PICKLIST_CUSTOM:
server$, databaseFileName$, viewName$, title$, prompt$, column%.
multipleSelection
Boolean. Specify True if you want to select multiple documents.
server$
String. Optional. Name of the server where the database resides.
databaseFileName$
String. Optional. The filename of the database that contains the view.
viewName$
String. Optional. Name of the view that you want displayed in the dialog.
title$
String. Optional. Title that you would use for the dialog.
prompt$
String. Optional. The prompt you want to appear inside the dialog.
column%
Integer. Optional. The column value that you want returned.
Return value
This method returns a Variant containing a stringArray if you click OK, or it could return Nothing if you click CANCEL.
Example
This example displays the resources dialog.
Dim workspace As New NotesUIWorkspace
Dim picklist As Variant
picklist = workspace.Pickliststrings(2)
See Also
PickListCollection