Copies a portion of one table to the specified location in another table.
Syntax
tabplace(desttable,sourcetable,d1,s1,s2)
tabplace(desttable,sourcetable,dr1,dc1,sr1,sc1,sr2,sc2)
The tabplace command can be specified either using coordinates where columns are signified with a letter, and rows by a number (for example “A3” represents the first column, third row), or by row number and column number.
The first syntax represents coordinate form, where sourcetable is the name of the table from which to copy, s1 specifies the upper-left coordinate portion of the section of the source table to be copied, s2 specifies the bottom-right coordinate, desttable specifies the name of the table to copy to, and d1 specifies the upper-left coordinate of the destination table.
The second syntax represents the row/column number form, where sourcetable is the name of the table from which to copy, sr1 specifies the source table upper row number, sc1 specifies the source table left most column number, sr2 specifies the source table bottom row number, sc2 specifies the source table right most column number. desttable specifies the name of the table to copy to, and dr1 and dr2 specify the upper and left most row and column of the destination table, respectively.
Examples
tabplace(table2,table1,"d1","B9","E17")
places a copy of the data from cell range B9 to E17 in TABLE1 to TABLE2 at cell D1
tabplace(table3,table1,10,3,9,2,17,5)
copies 8 rows of data (from row 9 to row 17) and 3 columns (from 2 to 5)of data in TABLE1 to the tenth row and 3rd column of TABLE3.
Cross-references
For additional discussion of table commands see
“Working with Tables and Spreadsheets”.
See also
“Table and Text Objects” for a discussion and examples of table formatting in EViews.