VP SET FIELD
VP SET FIELD ( rangeObj : Object ; field : Pointer { ; formatPattern : Text } )
Paramètres | Type | Description | ||
---|---|---|---|---|
rangeObj | Object | -> | Objet plage | |
champ | Pointer | -> | Référence au champ dans la structure virtuelle | |
formatPattern | Text | -> | Format du champ |
Description
The VP SET FIELD
command assigns a 4D database virtual field to a designated cell range.
Dans rangeObj, passez une plage de cellule(s) dont vous voulez spécifier la valeur. If rangeObj includes multiple cells, the specified field will be linked in each cell.
The field parameter specifies a 4D database virtual field to be assigned to the rangeObj. The virtual structure name for field can be viewed in the formula bar. If any of the cells in rangeObj have existing content, it will be replaced by field.
The optional formatPattern defines a pattern for the field parameter. You can pass any valid custom format.
Exemple
VP SET FIELD(VP Cell("ViewProArea";5;2);->[TableName]Field)