String obtained after wquery

For questions regarding programming in the EViews programming language.

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

Chelseafc11
Posts: 1
Joined: Thu Aug 11, 2016 9:50 am

String obtained after wquery

Postby Chelseafc11 » Thu Aug 11, 2016 10:25 am

Hi

I am trying to query a database and get a list of series with a certain condition. Then I would like to fetch only those series in a created workfile. However the substitution with the string is not working.
I did this way and it does not work. Could you help me?

1) string toto=@wquery("db", "condition", "name")
2)fETCH(D=db) %toto


Thanks

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

Re: String obtained after wquery

Postby EViews Gareth » Thu Aug 11, 2016 10:35 am

Code: Select all

%toto=@wquery("db", "condition", "name") FETCH(D=db) {%toto}


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests