Salesforce

ControlItemsRefresh (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

ControlItemsRefresh (Magic xpa 3.x)

Refreshes the Items list of a specific control.

This function is useful when you have controls that get their Items List from a data source and the end user adds entries to the data source. You can then use this function to see the new entries in the control.

Syntax:

ControlItemsRefresh(control name, generation)

Parameters:

control name – as specified in the Form Editor.

generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

Returns:

Logical

Note:

  • This function only affects the following controls: Combo box, List box, Radio button and Tab.

  • The function will not change the value of the variable attached to the control, even if this value does not exist in the new Items list.

  • If the control name is defined in two controls, the function will only affect one of the controls.

See also:

The Online and Rich Client Samples projects (program HG21 and RHG21)

Since version:

3.1

Reference
Attachment 
Attachment