To copy a table from one workfile to another

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

alps
Posts: 28
Joined: Sun Feb 24, 2013 7:42 am

To copy a table from one workfile to another

Postby alps » Sun Feb 24, 2013 11:25 am

Hello,
Is there a way of copying a table from one work file to another? I have tried, it doesn't accept. Do I need to specificy something else?
I kept getting error messages for the following command. When I replaced it with a series it works, however.

copy aus::casual_aus tabs::tabs\

Thanks very much for your reply

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

Re: To copy a table from one workfile to another

Postby EViews Gareth » Sun Feb 24, 2013 7:33 pm

Put the page name in the source:

Code: Select all

wfcreate(wf=wf1,page=pagea) u 100 series b=nrnd table a a(1,1) = "Hello" wfcreate(wf=wf2,page=pageb) m 1990 2000 copy wf1::pagea\a wf2::* copy wf1::pagea\b wf2::* [\code]


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests