Page 1 of 1

Create page with same frequency as first page

Posted: Tue Aug 27, 2013 3:41 am
by neptunhiker
Hi,

I can't figure out how to create a new page in the same workfile that has the same structure as Page1.

If I insert the following code, eViews gives me an error, because of an incomplete command.

Code: Select all

create d5 2000 2002 series someseries pagecreate (byid) @date(someseries)
I think I get the error, because when I just insert the following code into the command window of an already created workfile, then a new window pops up and asks me to specify the structure of the new page to be created.

Code: Select all

pagecreate (byid) @date(someseries)
How can I avoid that? That is: What code can I insert into my program that creates a new page with the same structure as the "OldPage without having to confirm or specify anything?

Thanks a lot.

Re: Create page with same frequency as first page

Posted: Tue Aug 27, 2013 8:26 am
by EViews Gareth

Code: Select all

create d5 2000 2002 pagecreate(byid) @date

Re: Create page with same frequency as first page

Posted: Tue Aug 27, 2013 10:42 am
by EViews Glenn
I think the problem with the original example is the extra space before the options. EViews thinks you want to define the page using the series BYID.

Re: Create page with same frequency as first page

Posted: Tue Aug 27, 2013 10:27 pm
by neptunhiker
Thanks. It worked out perfectly. It was really just the space.