cancel
Showing results for 
Search instead for 
Did you mean: 

Copying values from one table's column to a different table's column

Pioneer
Pioneer

Hello,

 

I would like to copy the values from a table's column to a different one in my method "init". I need to do that because the values change after the simulation is being run. Therefore, I would like to restore the initial values in the table. That is why my idea was to copy the values from one table to another one.

 

for i:=1 to Tabelle3.yDim loop
j:= Tabelle3.kopieren({1,*});
Tabelle2.schreibe(2,i,j);
next;

 

However, this does not work.

Any advice will be highly appreciated. 

Thank you,

David

2 REPLIES

Re: Copying values from one table's column to a different table's column

Phenom
Phenom

please to refer to copyRangeTo ( KopiereBereichNach) in the help file.

 

This method will do the job for you.

Re: Copying values from one table's column to a different table's column

Pioneer
Pioneer
Perfect. Thank you, that's exactly what I was looking for.