Copy sample to another page is not working

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

lgazire
Posts: 14
Joined: Mon Feb 11, 2019 8:56 am

Copy sample to another page is not working

Postby lgazire » Fri Feb 15, 2019 10:41 am

When i run sample smpl_{%produto} {%dt} generates the data 01/02/2009 @last but when i try to copy to another page it only generates @all

Steps:

sample smpl_{%produto} {%dt}
copy(overwrite) home\smpl_{%produto} {%produto}\dt

I tried without the overwite param as well and it didn´t work, what am i doing wrong?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12172
Joined: Tue Sep 16, 2008 5:38 pm

Re: Copy sample to another page is not working

Postby EViews Gareth » Fri Feb 15, 2019 11:00 am

No idea, seems to work fine.

Code: Select all

wfcreate(page=home) d7 2008 2010
%dt = "01/02/2009 @last"
%produto = "test"
pagecreate(page={%produto}) d7 2009 2011
pageselect home


sample smpl_{%produto} {%dt}



copy(overwrite) home\smpl_{%produto} {%produto}\dt

pageselect {%produto}
show dt
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 3 guests