Page 1 of 1

Copy a list?

Posted: Mon Feb 17, 2025 1:22 am
by mboll
I want to copy a list of series from pne page to another within a wf but i don't understand how to.

This i my code, what am I doing wrong?

%serier = @WLookup("*", "series")
@WDrop(%serier, %SerierLFB)
Smpl 2015 2023
Copy ATemp\%serier a\

I make a list called %Series which contain all the series in a page called Atemp. Although I want to drop out some of the series defined in %seriesLFB.
Then I only want to copy a specified timeframe defined with the smpl.
And then I want to copy %serier to the empty page a.
But it does not work. Please help?!

Re: Copy a list?

Posted: Mon Feb 17, 2025 9:21 am
by EViews Gareth
Copying doesn't support samples, so you can't copy only a subset like that.

It also doesn't support lists, so you'll have to loop through:

Code: Select all

for %j {%serier} Copy ATemp\{%j} a\ next