FORMULA LANGUAGE
Displays a modal window that contains either:
@PickList( [CUSTOM] : [SINGLE] ; server : file ; view ; title ; prompt ; column ; categoryname )
@PickList( [NAME] : [SINGLE] [; selectedoptions])
@PickList( [ROOM] )
@PickList( [RESOURCE] )
@PickList( [FOLDERS] : [SINGLE] ; server:database )
@PickList( [FOLDERS] : [SHARED] ; server:database )
@PickList( [FOLDERS] : [PRIVATE] ; server:database )
@PickList( [FOLDERS] : [NODESKTOP] ; server:database )
Parameters
[CUSTOM]
[SINGLE]
Keyword. Optional. Limits the selection to a single document.
Keyword. Optional. Limits selection to a single folder.
[SHARED]
Keyword. Optional. Limits selection to only shared folders.
[PRIVATE]
Keyword. Optional. Limits selection to only private folders (both in the database and on the desktop).
[SHARED]:[PRIVATE]
Keyword. Optional. Includes in selection all shared and private folders.
[NODESKTOP]
Keyword. Optional. Excludes folders in the desktop from selection.
You can use a replica ID in place of a server and file name as the parameter following the [custom] keyword only. The replica ID must be text and must include the colon between the two sets of eight hex digits. For example:
@PickList([CUSTOM]; "852564A0:006B7872"; "By Category"; "Testing replica ID"; "Test prompt"; 3)
Use "" to specify the currently open database.
Note This parameter is new with Release 5.
columnValue
This function is useful in button, manual agent, paste agent, form action, and view action formulas. It does not work in column, selection, mail agent, scheduled agent, hide-when, window title, or form formulas.
Although @PickList([CUSTOM]) operates similarly to @DbColumn and @DbLookup, @PickList is preferable because it:
For a calendar view, @PickList displays two days starting with today, without time slots. The user can click on the date picker button to navigate to other days.
You cannot use this function in Web applications.
@PickList can return no more than 64K bytes of data. Use the following equations to determine how much of your data can be returned using @PickList.
For lookups that return text:
2 + (2 * number of entries returned) + total text size of all entries
For lookups that return numbers or dates:
(10 * number of entries returned) + 6
However, @PickList can access a view of any size, so there are no limits to the number of choices it can present. Only the return value is limited in size.
Language cross-reference
PickListStrings method of LotusScript NotesUIWorkspace class
Example See Also