GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Nine — Dialog Functions (continued)
Overview
The DataControlGetData function retrieves the content of a data control as a specified format.
Syntax/Parameters
Syntax
string = DataControlGetData ( int id, [dword type] );
Parameters
id
An int containing the control ID of the data control.
type
An optional dword specifying the type of data to export using a file type code. The allowed values are FT_CSV, FT_HTML, FT_TEXT and FT_XDS_II. The default is FT_CSV.
Return Value
A string containing the control’s data in a structured format. The string will be empty on error. Since an empty string may be valid data, the GetLastError, IsError or IsNotError function must be used to determine if an error occurred.
Remarks
Exported data can be CSV, Text, HTML or XDS vII. The only format that carries all information about a control is XDS. Text and CSV are encoded as UTF-8.
Note that the XDS format is returned as the sheet only without a workbook container.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.