Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDGARArchiveGetFileCount Function

Overview

The EDGARArchiveGetFileCount function returns the total number of encoded files contained within an archive.

Syntax/Parameters

Syntax

int = EDGARArchiveGetFileCount ( handle hArchive )

Parameters

hArchive

A handle that specifies the EDGAR Archive opened with EDGARArchiveOpen function.

Return Value

An int expressing the count of files or a formatted error code on failure. The only error returned is ERROR_FILE with ERROR_INVALID_HANDLE.

Remarks

Note that an archive can contain more or less documents than filed if cover letters or documents with confidential treatment are part of the submission. PDS files containing XBRL will contain a series of additional documents generated for the XBRL view function.

During a test filing with return copy enabled, truncated filings (those with XBRL errors) will not contain any XBRL documents.

Related Functions

Platform Support

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

Legato IDE, Legato Basic