OpenSTAAD V8i

Table.AddTable

Adds a table to the specified ReportNo.

VB Syntax

Table.AddTable ReportNo, szTableName, NumRows, NumCols 

Where:

ReportNo

Long variable containing the report number to which this table will be added.

szTableName

A null terminated string containing the name of the table.

NumRows, NumCols

Long variables providing the number of rows and columns of the table.

Return Value

A long value containing the reference number for the table created to be used to access the table.

VB Example

'Get the application object --
'Add table to report no 1 with 10 rows and 5 columns
NumRows = 10
NumCols = 5
TableNo = objOpenSTAAD.Table.AddTable 1, "My Table", NumRows, NumCols