PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Cómo saber el nombre de las columnas de un data source
Cómo saber el nombre de las columnas de un data source
Iniciado por Alejandro Gutiérrez, out., 17 2020 5:47 PM - 1 resposta
Publicado em outubro, 17 2020 - 5:47 PM
Saludos cordiales

XCLIENTES is data source

HExecuteSQLQuery(XCLIENTES, myConn2, hQueryWithoutCorrection,"SELECT top 100 * FROM CLIENTES")

HReadFirst(XCLIENTES)

XCLIENTES.CLI_NOMBRE // Es el contenido de CLI_NOMBRE

Hay algo como ...

nombredecolumna(xclientes.1) // devuelve cli_codigo
nombredecolumna(xclientes.2) // devuelve cli_nombre
nombredecolumna(xclientes.3) // devuelve cli_ruc

?

Gracias por su ayuda.


atte.

Alejandro
Publicado em fevereiro, 23 2021 - 12:29 PM
El 17/10/2020 a les 15:47, "Alejandro Gutiérrez" ha escrit:
Saludos cordiales

XCLIENTES is data source

HExecuteSQLQuery(XCLIENTES, myConn2, hQueryWithoutCorrection,"SELECT top
100 * FROM CLIENTES")

HReadFirst(XCLIENTES)

XCLIENTES.CLI_NOMBRE // Es el contenido de CLI_NOMBRE

Hay algo como ...

nombredecolumna(xclientes.1) // devuelve cli_codigo
nombredecolumna(xclientes.2) // devuelve cli_nombre
nombredecolumna(xclientes.3) // devuelve cli_ruc

?

Gracias por su ayuda.


atte.

Alejandro


Has probado con "HListItem"

Saludos