AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example: Displaying the characteristics of a key in the trace
HListKey (Example)
Example: Displaying the characteristics of a key in the trace
WINDEVWEBDEV - Código ServidorReportes y ConsultasCódigo de Usuario (UMC)AjaxHFSQL ClassicHFSQL Client/ServerOLE DBConectores Nativos This example is used to display all the characteristics of the key in a trace window. Each characteristic is extracted from the result of HListKey by ExtractString.
// Displays the characteristics of a key in the trace
sKeyList is string
 
sKeyList = HListKey(CUSTOMER, hLstDetail)
// Retrieves the first key
sKeyList = ExtractString(sKeyList, 1, CR)
// Displays the name of the key
Trace(ExtractString(sKeyList, 1))
// Displays the type of the key
Trace(ExtractString(sKeyList, 2))
// Displays the size of the key
Trace(ExtractString(sKeyList, 3))
// Displays the expression of the key
Trace(ExtractString(sKeyList, 4))
// Displays the uniqueness of the key
Trace(ExtractString(sKeyList, 5))
// Displays the caption of the key
Trace(ExtractString(sKeyList, 6))
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: 27/05/2022

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