Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDACOpenView Function

Overview

The EDACOpenView function opens the current EDGAR project view and returns an EDAC handle.

Syntax/Parameters

Syntax

handle = EDACOpenView ( [handle hwView] );

Parameters

hwView

An optional handle specifying a view to attach the EDAC. This parameter only applies to non-project views such as Form D View. The default value is the Project MDI View for the currently open EDGAR form.

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.

Remarks

From most views, an EDGAR project must be open and the managing module must support EDAC to use this function.

Assuming success, the sheet-to-data operation is performed to update the internal object to match the view. When closed, the data-to-sheet operation is performed, assuming one or more fields have been updated. Avoid repeatedly opening and closing view access since some views may take a while to update.

While open, scripts must not alter any associated view data sheets since they will be updated on closing the EDAC object.

Related Functions

Platform Support

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