| Maptitude GISDK Help |
Gets the class of a table that is hard linked to a database.
class = GetHardLinkClass(string view_name)
| Argument | Contents |
|---|---|
| view_name | The name of a view |
If the view is a geographic layer, it returns the class of the hard-linked table; if the view is not a geographic layer, it returns the class of the table associated with the view. If the view is a joined view or is a geographic layer without a hard link, it returns null.
This function can be used in preparation for modifying the table hard linked to a geographic layer.
layer = GetLayer()
class = GetHardLinkClass(layer)
if class = "dBASE" then
ShowMessage("The class of the hard-linked table is dBASE.")
| Error Type | Meaning |
|---|---|
| NotFound | The view was not found |
| Function | Summary |
|---|---|
| JoinTableToLayer() | Permanently joins a single table to a geographic file |
| ©2025 Caliper Corporation | www.caliper.com |