PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


  • Order of items in the data file
  • External language
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
HToItem (Function)
 
ODBCNo disponible con este tipo de conexión
Assigns the specified value to an item of the current record.
Note: This function is rarely used. We recommend that you directly assign the items with the following syntax: <FileName>.<ItemName> = <Value>.
For example: Customer.Name = "Smith".
señalar: A partir de la versión 19, HFSQL es el nuevo nombre de HyperFileSQL.
Versiones 22 y posteriores
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Widget Android This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Nueva funcionalidad versión 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Widget Android This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Widget Android This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Ejemplo
// Assigns SMITH to the second item of Customer 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(<File Name> , <Item Order> [, <Subscript>] , <Value>)
<File Name>: Character string (with or without quotes)
Name of data file used.
<Item Order>: Integer
Physical order number of the item in the data file.
<Subscript>: Optional integer
Subscript of the array item to assign. If a non-array item is assigned, <Subscript> 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 <Subscript> was used, the value will be assigned to the specified subscripted 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.

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

HToItem(<File Name> , <Item Order> [, <Array Separator>] , <Value>)
<File Name>: Character string (with or without quotes)
Name of data file used.
<Item Order>: Integer
Physical order number of the item in the data file.
<Array Separator>: Optional character string (with quotes)
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 <Subscript> was used, the value will be assigned to the specified subscripted 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 ..Subscript.
WINDEVWindowsLenguaje ExternoHFSQLHFSQL Client/ServerProcedimientos almacenadosHyper File 5.5

External language

  • <Value> must be passed in string format.
  • A binary memo cannot be assigned by HToItem.
Componente : wd240hf.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