Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

ODBCFetchColumnNames Function

Overview

The ODBCFetchColumnNames function returns the names of the columns from an ODBC Results Object in the form of a string array.

Syntax/Parameters

Syntax

string[] = ODBCFetchColumnNames ( handle hResult ) ;

Parameters

hResult

A handle for an ODBC Results Object.

Return Value

Returns a string array with an entry for each column name or an empty array on failure. Use the GetLastError function to retrieve error information. The GetLastErrorMessage function may supply additional information.

Remarks

A column may also be called a field or a key. The names are ordered from 0 to n. The returned column name cannot be larger than 512 characters. On error or no data, the number of used elements in the array will be reset to zero.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE