4D v16.3LISTBOX SET COLUMN FORMULA |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
LISTBOX SET COLUMN FORMULA
|
LISTBOX SET COLUMN FORMULA ( {* ;} object ; formula ; dataType ) | ||||||||
Parameter | Type | Description | ||||||
* | Operator |
![]() |
If specified, object is an object name (string) If omitted, object is a variable |
|||||
object | Form object |
![]() |
Object Name (if * is specified) or Variable (if * is omitted) |
|||||
formula | String |
![]() |
4D formula associated with column | |||||
dataType | Longint |
![]() |
Type of formula result | |||||
The LISTBOX SET COLUMN FORMULA command modifies the formula associated with the column of the list box designated by the object and * parameters. Formulas can only be used when the “Data Source” property of the list box is either Current Selection or Named Selection.
If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string. This parameter must designate a list box column.
The formula parameter can contain any valid expression, i.e.:
When the command is called, the formula is parsed and then executed.
Note: Use the Command name command to specify formulas independent from the application language (when they call 4D commands).
The dataType parameter designates the type of data resulting from the execution of the formula. In this parameter, you pass one of the constants from the Field and Variable Types theme. If the formula result does not match the expected data type, an error is generated.
Product: 4D
Theme: List Box
Number:
1203
Created: 4D v13
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)