Maptitude GISDK Help

ExportEditor()

Summary

Exports the contents of an editor to a new table.

 

Syntax

ExportEditor(string editor_name, string class, string file_name, array options)

 

Argument Contents
editor_name The name of the editor to export
class Class of new table to create (dBASE, FFA, FFB, CSV, or EXCEL)
file_name File name for the new table

 

Option Type Contents
CSV Drop Quotes Boolean If "True" when exporting to a comma-separated file, do not have quotes around string field values in the exported file (default is "False")
CSV Header Boolean If "True" when exporting to a comma-separated file, the first line of the file contains field names, and data starts at the second line (default is "False")
Dictionary Description String A description to be stored in the first line of the resulting FFA, FFB, or CSV dictionary file
Force Numeric Type String Type should be chosen from "double", "float", "integer", "long", "real", or "short". All numeric fields will be exported using the specified type whenever allowed by the underlying database that is being exported to
Indexed Fields Array A list of fields to be internally indexed in the new table

 

Notes

Example

ExportEditor("Customer List", "CSV", "customer.csv",

     {

          {"CSV Header", "True"},

          {"Indexed Fields", {"Name", "Sales"}}

     })

 

Error Codes

Error Type Meaning
Error Unable to create the table (e.g., the file is currently in use, or disk space is insufficient)
NotFound The view or set name is invalid

 

See Also

Function Summary
CreateTable() Creates an empty table and opens it as a view
ExportView() Exports the contents of a view to a new table
FileCheckUsage() Checks whether files are in use by Maptitude

 

 

©2025 Caliper Corporation www.caliper.com