TreeAge Pro


TreeObj.defineTableProperties
v1.0
TreeObj - Object Overview
TreeAge Pro - Table of Contents

TreeAge Pro Interactive - Table of Contents

Documentation Home
TreeAge Website Home
  
Syntax: Function defineTableProperties (table_name as String,
                                                where as Long,
                                                filename as String,
                                                comment as String,
                                                lookup_method as Long,
                                                off_edge_is_error as Long,
                                                default_column as Long) as Long
Description: Add a table or update an existing table's properties.
Return value:  Returns a flag indicating the success of the operation.
Remarks: 

Important: This method will not change the name of an existing table. Do this from within TreeAge Pro instead.

See defineTableData for information on updating a table's data and column titles.

See getTableProperties for information on getting information about existing tables.

If updating an existing table, use the appropriate value for where to control whether an in-package table or a global table file is updated:

Value Constant Action
1 table_home_default try update package first, then define/update global
2 table_home_package update in package only
3 table_home_global define/update table file only
Sample code: 
See also: Flag values
defineTableData
getTableProperties