Page 1 of 1

String obtained after wquery

Posted: Thu Aug 11, 2016 10:25 am
by Chelseafc11
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

Re: String obtained after wquery

Posted: Thu Aug 11, 2016 10:35 am
by EViews Gareth

Code: Select all

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