Develop > Programming > System Language reference > List: RAD functions > RAD function: multiselect.selection("fieldname")

RAD function: multiselect.selection("fieldname")

A RAD function that returns the field name of the column associated with the multiselection. The associated column name is set using the Selection Field property in Forms Designer.

To set the associated column name using the Selection Field property in Forms Designer, follow these steps:

  1. Log on to Service Manager as a System Administrator.
  2. Click Tailoring > Forms Designer.
  3. In the Form field, type the form name. For example, type probsummary.qbe.g and click Search. The form opens.
  4. Click Design to open design mode.
  5. Click the table object.
  6. In the Selection Field property, type the name of the column on the table (for example, type number).
  7. Click OK to see what the form will look like in the Windows client.
  8. Click OK to save your changes.

Function

multiselect.selection("fieldname")

Format

$info=multiselect.selection("fieldname")

Example

$x=multiselect.selection("fieldname")

After execution, the value of $x is set to the column name (for example,"number").

Note Field contents are only returned if the associated column name is set using the Selection Field property in Forms Designer.