Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EightData Functions (continued)

DataSheetGetColumnCount Function

Overview

The DataSheetGetColumnCount function returns the number of columns within a Data Sheet object.

Syntax/Parameters

Syntax

int = DataSheetGetColumnCount ( handle hSheet );

Parameters

hSheet

A handle to a Data Sheet object.

Return Value

Returns an int representing the number of columns within the sheet or -1 on failure. Use the GetLastError function to retrieve error information.

Remarks

The column count represents the number of discrete columns. If cell merges are employed, they do not affect the number of columns.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2024-04-22