Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

XBRLGetColumnCount Function

Overview

The XBRLGetColumnCount function returns the number of columns specified with a table template.

Syntax/Parameters

Syntax

int = XBRLGetTemplateCount ( handle hXM, string t_id | int t_index );

Parameters

hXM

A handle to an XBRL Model Object containing xBRL-CSV instance data.

t_id

A string specifying the table template identifier. Or,

t_index

A zero based int value specifying the table template position in the table template list.

Return Value

Returns an int as the count of the number of table templates loaded or a formatted error code on failure. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve additional error information.

Remarks

The count can also be read from the ArrayGetAxisDepth if the column IDs are enumerated using the XBRLEnumerateColumns function.

Related Functions

Platform Support

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

Page revised 2026-07-20