Previous Topic: Lookup Parameter SyntaxNext Topic: Adjusting the Display


Lookup Parameter Calling Sequence

The popup and picker functions have the following calling sequences:

Popup('title','name','major','minor','lookup field', 'nameflag', 'popflag', 'concsep');
PopupWithHiddenField('title','name','major','minor','lookup field', 'hidden', 'nameflag', 'popflag', 'concsep');
Picker('title','name','major','minor','lookup field','multi','filter','nameflag');

where:

title

Specifies the title to be displayed on the popup dialog.

name

Specifies the name of the lookup search to call.

major

Specifies the major version number of the lookup search.

minor

Specifies the minor version number of the lookup search.

lookup_field

Specifies the parameter field that will receive the selected items.

hidden

Specifies the parameter field that will receive the hidden IDs of the selected items

multi

Optional. When true, specifies that multiple selections are permitted (default is false).

filter

Optional. When true, specifies that results can be filtered by specifying a search string (default is false).

nameflag

Optional. When false (default), specifies that the name argument is the SP name (this is to support previous versions of the iConsole); when true, name is the search name.

popflag

Optional. When true (default false), the picker is pre-populated by running the associated search.

concsep

Optional. When not blank (default ''), multiple column values are concatenated using this separator.

Note: When the filter option is specified, the search should accept a string parameter to be used as the filter text. The search can return multiple columns and these are displayed in the picker; the filter is applied to all columns