AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Order of items in the data file
  • External language
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Assigns the specified value to an item of the current record.
Note: This function is rarely used.. It is recommended to directly assign the items with the following syntax: <FileName>.<ItemName> = <Value>.
For example: Customer.Name = "Dupont".
Ejemplo
// Assigns "Smith" to the second item of the Customer data file
HToItem(Customer, 2, "Smith")
Sintaxis

Assigning a value to an item (a value for each item of an array item) Ocultar los detalles

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.
Hyper File 5.5 The array items cannot be assigned.

Assigning a value to an item (a value for an array item) Ocultar los detalles

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.
Hyper File 5.5 The array items cannot be assigned.
<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.
Hyper File 5.5 The array items cannot be assigned.
Observaciones

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.
WINDEVWindowsLenguaje ExternoHFSQL ClassicHFSQL Client/ServerProcedimientos almacenadosHyper File 5.5

External language

  • <Value> must be passed in string format.
  • HToItem does no assign values to binary memo items.
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

Señalar un error o enviar una sugerencia | Ayuda local