Page 1 of 1

Help for tableTdate.copyrange tableTdate1

Posted: Tue Mar 13, 2018 1:00 pm
by sudesh
Hi, I have two tables with the same number of columns.

I would like to copy all the data from table 2 to table 1 at the last row of table 1.

I tried this code by in vain.

Scalar x =@rows(table1)+1

table2.copyrange table1 A&x.

Can someone help me out for this code?

Otherwise if there any way to merge horizontally two tables of same dimensions.

Thanks.

Re: Help for tableTdate.copyrange tableTdate1

Posted: Tue Mar 13, 2018 3:22 pm
by EViews Matt
Hello,

It appears you've confused the syntax of copyrange and copytable. Within a program you could use:

Code: Select all

!x = @rows(table1) + 1 table2.copytable table1 A!x
Outside a program, manually entering commands, you could use:

Code: Select all

string s = "A" + @str(@rows(table1) + 1) table2.copytable table1 {s}