Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDACCreateObject Function

Overview

The EDACCreateObject function creates an EDGAR Access Object based on a specified file type.

Syntax/Parameters

Syntax

handle = EDACCreateObject ( dword type );

Parameters

type

A dword specifying the file type to create an object.

Return Value

Returns a handle to a EDAC Object or NULL_HANDLE on error. Use the GetLastError function to retrieve a formatted error code. The GetLastErrorMessage can also contain additional details.

Use the CloseHandle function to discard the object.

Remarks

The file type is used to locate a serving EDGAR form object (DLL). If a matching type cannot be located, an error will be returned. The create function operates independently from any open EDGAR View.

The type parameter can be one of the following:

FT_XML_FORM_13F      FT_XML_FORM_13H      FT_XML_FORM_17A      FT_XML_FORM_17H

FT_XML_FORM_24F_2    FT_XML_FORM_ATS      FT_XML_FORM_C        FT_XML_FORM_CFP

FT_XML_FORM_D        FT_XML_FORM_MA       FT_XML_FORM_N_CEN    FT_XML_FORM_N_MFP

FT_XML_FORM_N_PORT   FT_XML_FORM_SDR      FT_XML_FORM_TA       FT_XML_REG_A

FT_XML_SECTION_16

Variation of project or EIS types may also be used. See section Section 6.10 File Types for more information on file types. Creating an object does not set the EDGAR form type.

Not all EDGAR modules support EDAC.

Closing the handle discards all information associated with the EDAC Object. To save changes, use the EDACSaveFile function.

Related Functions

Platform Support

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