Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

XBRLGetTableValue Function

Overview

The XBRLGetTableValue function returns the text of a specified table cell with in the referenced CSV file for a specific Table within the loaded instance.

Syntax/Parameters

Syntax

string = XBRLGetTableValue ( handle hXM, string id | int index, int row, int column );

string = XBRLGetTableValue ( handle hXM, string id | int index, string row, string column );

string = XBRLGetTableValue ( handle hXM, string id | int index, string address );

Parameters

hXM

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

id

A string containing a table identifier. The value is case-sensitive. Or,

index

A zero-based int value specifying the table to retrieve.

row

An int or string specifying a zero-based row or Y position for the cell.

column

An int or string specifying a zero-based column or X position for the cell.

address

A string specifying the cell position by cell address such as “A1”.

Return Value

Returns a string as the content of the specified cell or an empty string on failure. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve additional error information.

Remarks

This function is similar to the DataSheetGetCellText function in that it is retrieving data using the same method for the associated Table’s Data Sheet Object.

Cells can be addressed using zero based integers, numeric strings or a cell address.

Related Functions

Platform Support

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

Page revised 2026-07-20