|
|
|
|
- Order of items in the data file
- External language
HToItem (Function) In french: HVersRubrique
Not available with this kind of connection
Assigns the specified value to an item of the current record. Remark: This function is rarely used. It is recommended to directly assign the items with the following syntax: <FileName>.<ItemName> = <Value>. For example: Customer.LastName = "Smith".
// Assigns "Smith" to the second item of the Customer data file HToItem(Customer, 2, "Smith")
Syntax
Assigning a value to an item (a value for each item of an array item) Hide the details
HToItem(<Data file> , <Item order> [, <Index>] , <Value>)
<Data file>: Character string Name of the data file used. <Item order>: Integer Physical order number of the item in the data file. <Index>: Optional integer Index of the array item to assign. If a non-array item is assigned, <Index> must be set to 1. <Value>: Character string or other Value that must be assigned to the item. If the value must be assigned to an array item: - if <Index> was used, the value will be assigned to the specified indexed item.
- if none of the previous parameter was used, <Value> must contain all the values of the array item, separated by TAB.
Assigning a value to an item (a value for an array item) Hide the details
HToItem(<Data file> , <Item order> [, <Array separator>] , <Value>)
<Data file>: Character string Name of the data file used. <Item order>: Integer Physical order number of the item in the data file. <Array separator>: Optional character string String used to separated the values of each array item. TAB is used by default.
<Value>: Character string or other Value that must be assigned to the item. If the value must be assigned to an array item: - if <Array separator> was used, <Value> must contain all the values of the array item, separated by the specified separator
- if none of the previous parameter was used, <Value> must contain all the values of the array item, separated by TAB.
Remarks Order of items in the data file The order of the items in the data file starts from 1. The order of an item is returned by the Index property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|