Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EightData Functions (continued)

ODBCFetchColumnName Function

Overview

The ODBCFetchColumnName function returns the name of a specified column with an ODBC Results Object.

Syntax/Parameters

Syntax

string = ODBCFetchColumnName ( handle hResult, int index );

Parameters

hResult

A handle for an ODBC Results Object.

index

A zero-based int specifying the column number.

Return Value

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

Remarks

The returned column name cannot be larger than 512 characters. A column may also be called a field or a key.

Related Functions

Platform Support

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

Legato IDE