Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

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

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
Solution
Solution
Accepted by topic author DavidStudent
‎10-17-2016 07:29 AM

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

[ Edited ]

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

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