Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EightData Functions (continued)

ODBCHasData Function

Overview

The ODBCHasData function checks to see if any data remains within an ODBC Results Object.

Syntax/Parameters

Syntax

boolean = ODBCHasData ( handle hResult );

Parameters

hResult

A handle for an ODBC Results Object.

Return Value

Returns a boolean value as TRUE if the ODBC Results Object has data available or FALSE if it does not. The function may also return FALSE if hResult is not a valid handle. Use the GetLastError function to retrieve error information.

Remarks

This function refers to the internal location within an ODBC Result Object. Functions like the ODBCFetchArray and ODBCNextRow functions move this location through the result row by row. The ODBCHasData function is useful when iterating through a result to fetch the rows.

Related Functions

Platform Support

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

Legato IDE