Maptitude GISDK Help |
Creates a new table containing the codes and values from an existing translation table.
Return value and MEM class added in Version 2016.
new_view_name = ExportTableTranslation(string reftable, string output_class, string output_filename, array options)
Argument |
Contents |
reftable |
The name of a view referring to a fixed-format ASCII or fixed-format binary table file |
output_class |
Class of new table to create (dBASE, FFA, FFB, CSV, or MEM) |
output_filename |
File name for the new table |
No options are currently supported.
A string containing the name of the view, when a MEM table is created, otherwise null.
The file types include FFA for fixed-format text (ASCII), FFB for fixed-format binary, and CSV for comma-separated text (values).
The tables created with the MEM class are stored in memory instead of being stored on disc, and persist in memory until closed with CloseView() or until the program is closed.
file_name is ignored for tables created with the MEM class.
The codes remain attached to reftable even after they are exported to a new file. To remove the codes, use DetachTableTranslation().
ExportTableTranslation("Highways", "dBASE", "c:\\data\\codes.dbf", )
Error Type |
Meaning |
NotFound |
The reftable does not have a translation table attached to it |
Function |
Summary |
Attaches a translation table (codes) to an existing table |
|
Removes a translation table (codes) from an existing table |
|
Indicates whether a table has an existing translation table (codes) |
©2025 Caliper Corporation | www.caliper.com |