Maptitude GISDK Help

AttachTableTranslation()

Summary

Attaches a translation table (codes) to an existing table.

 

Syntax

AttachTableTranslation(string base_table, string code_view_set, string fldname_fld, string code_fld, string val_fld, array options)

 

Argument Contents
base_table The name of a view referring to a table file
code_view_set The name of the view and selection set containing the codes, separated by a vertical bar
fldname_fld The column of code_view_set that contains the name of the field to which each code applies
code_fld The column of code_view_set that contains the shorthand codes that are found in the base_table
val_fld The column of code_view_set that contains the descriptive strings that will be displayed in place of the shorthand codes

 

No options are currently supported.

 

Notes

Example

AttachTableTranslation("States", "Lookup Table|", "Field Name", "Code", "String to Display", )

 

Error Codes

Error Type Meaning
NotFound One of the view names or field names is not valid

 

See Also

Function Summary
DetachTableTranslation() Removes a translation table (codes) from an existing table
ExportTableTranslation() Creates a new table containing the codes and values that are part of an existing translation table
TableHasTranslation() Indicates whether a table has an existing translation table (codes)

 

 

©2025 Caliper Corporation www.caliper.com