OLEDB Driver problem

For questions regarding programming in the EViews programming language.

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

dan.solverud@gov.se
Posts: 5
Joined: Fri Oct 03, 2014 4:13 am

OLEDB Driver problem

Postby dan.solverud@gov.se » Thu Sep 10, 2015 12:58 am

I have stumbled over a curious problem when I try to read series via OLEDB driver. Most of the time it works out without any problems, but in at least one case it just won’t work if I try to include dates. I use the same OLEDBconnection string (cs) and I use the same string to retrieve the series (cmd). The wf i try to read from contains 3 pages; the first contains monthly data, the second quarterly, and the third annual. When I use the connection to retrieve quarterly data I face no problems, no matter if I include the @date in the cmd-string or not, but when I try to read annual data, I receive an error message when I try to include @date ”Reading ’OBSID failed. Object ’OBSID’ does not exist”. My guess would be that it is the particular wf page structure that causes this error (I have no problem retrieving annual data with dates included from other wf:s) . Correct? How can this problem be resolved? Should I modify the wf or is it possible to solve this in the vba-script?

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: OLEDB Driver problem

Postby EViews Steve » Thu Sep 10, 2015 8:02 am

Hi Dan:

Please send me a copy of the workfile via email to steve@eviews.com (and please refer to your original post in your email) and I'll try to figure out what's going on.

Steve


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests